diff --git a/backend/framework/domain/src/main/java/io/metersphere/api/domain/ApiDefinitionMockConfig.java b/backend/framework/domain/src/main/java/io/metersphere/api/domain/ApiDefinitionMockConfig.java index 378ca1de00..4da2090dd5 100644 --- a/backend/framework/domain/src/main/java/io/metersphere/api/domain/ApiDefinitionMockConfig.java +++ b/backend/framework/domain/src/main/java/io/metersphere/api/domain/ApiDefinitionMockConfig.java @@ -1,6 +1,7 @@ package io.metersphere.api.domain; +import lombok.EqualsAndHashCode; import org.springframework.data.annotation.Id; import org.springframework.data.relational.core.mapping.Table; import io.metersphere.validation.groups.Updated; @@ -14,6 +15,7 @@ import java.io.Serializable; @ApiModel(value = "mock期望值配置") @Table("api_definition_mock_config") @Data +@EqualsAndHashCode(callSuper = false) public class ApiDefinitionMockConfig extends ApiDefinitionMock implements Serializable { private static final long serialVersionUID = 1L; diff --git a/backend/framework/domain/src/main/java/io/metersphere/functional/domain/FunctionalCaseBlob.java b/backend/framework/domain/src/main/java/io/metersphere/functional/domain/FunctionalCaseBlob.java index 916aec817b..a076456053 100644 --- a/backend/framework/domain/src/main/java/io/metersphere/functional/domain/FunctionalCaseBlob.java +++ b/backend/framework/domain/src/main/java/io/metersphere/functional/domain/FunctionalCaseBlob.java @@ -3,6 +3,7 @@ package io.metersphere.functional.domain; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import lombok.EqualsAndHashCode; import org.springframework.data.relational.core.mapping.Table; import java.io.Serializable; @@ -10,6 +11,7 @@ import java.io.Serializable; @ApiModel(value = "功能用例") @Table("functional_case_blob") @Data +@EqualsAndHashCode(callSuper = false) public class FunctionalCaseBlob extends FunctionalCase implements Serializable { private static final long serialVersionUID = 1L;