diff --git a/backend/src/main/java/io/metersphere/base/domain/TestCase.java b/backend/src/main/java/io/metersphere/base/domain/TestCase.java index 81c1f55226..d705696118 100644 --- a/backend/src/main/java/io/metersphere/base/domain/TestCase.java +++ b/backend/src/main/java/io/metersphere/base/domain/TestCase.java @@ -59,7 +59,5 @@ public class TestCase implements Serializable { private Long order; - private String demandPlatform; - private static final long serialVersionUID = 1L; } \ No newline at end of file diff --git a/backend/src/main/java/io/metersphere/base/domain/TestCaseExample.java b/backend/src/main/java/io/metersphere/base/domain/TestCaseExample.java index 6ebc432077..7722990039 100644 --- a/backend/src/main/java/io/metersphere/base/domain/TestCaseExample.java +++ b/backend/src/main/java/io/metersphere/base/domain/TestCaseExample.java @@ -1933,76 +1933,6 @@ public class TestCaseExample { addCriterion("`order` not between", value1, value2, "order"); return (Criteria) this; } - - public Criteria andDemandPlatformIsNull() { - addCriterion("demand_platform is null"); - return (Criteria) this; - } - - public Criteria andDemandPlatformIsNotNull() { - addCriterion("demand_platform is not null"); - return (Criteria) this; - } - - public Criteria andDemandPlatformEqualTo(String value) { - addCriterion("demand_platform =", value, "demandPlatform"); - return (Criteria) this; - } - - public Criteria andDemandPlatformNotEqualTo(String value) { - addCriterion("demand_platform <>", value, "demandPlatform"); - return (Criteria) this; - } - - public Criteria andDemandPlatformGreaterThan(String value) { - addCriterion("demand_platform >", value, "demandPlatform"); - return (Criteria) this; - } - - public Criteria andDemandPlatformGreaterThanOrEqualTo(String value) { - addCriterion("demand_platform >=", value, "demandPlatform"); - return (Criteria) this; - } - - public Criteria andDemandPlatformLessThan(String value) { - addCriterion("demand_platform <", value, "demandPlatform"); - return (Criteria) this; - } - - public Criteria andDemandPlatformLessThanOrEqualTo(String value) { - addCriterion("demand_platform <=", value, "demandPlatform"); - return (Criteria) this; - } - - public Criteria andDemandPlatformLike(String value) { - addCriterion("demand_platform like", value, "demandPlatform"); - return (Criteria) this; - } - - public Criteria andDemandPlatformNotLike(String value) { - addCriterion("demand_platform not like", value, "demandPlatform"); - return (Criteria) this; - } - - public Criteria andDemandPlatformIn(List values) { - addCriterion("demand_platform in", values, "demandPlatform"); - return (Criteria) this; - } - - public Criteria andDemandPlatformNotIn(List values) { - addCriterion("demand_platform not in", values, "demandPlatform"); - return (Criteria) this; - } - - public Criteria andDemandPlatformBetween(String value1, String value2) { - addCriterion("demand_platform between", value1, value2, "demandPlatform"); - return (Criteria) this; - } - - public Criteria andDemandPlatformNotBetween(String value1, String value2) { - addCriterion("demand_platform not between", value1, value2, "demandPlatform"); - return (Criteria) this; - } } public static class Criteria extends GeneratedCriteria { diff --git a/backend/src/main/java/io/metersphere/base/mapper/TestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/TestCaseMapper.xml index 269c95e77c..b073ef8e36 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/TestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/TestCaseMapper.xml @@ -29,7 +29,6 @@ - @@ -101,7 +100,7 @@ id, node_id, node_path, project_id, `name`, `type`, maintainer, priority, `method`, create_time, update_time, test_id, sort, num, other_test_name, review_status, tags, demand_id, demand_name, `status`, custom_num, step_model, create_user, original_status, - delete_time, delete_user_id, `order`, demand_platform + delete_time, delete_user_id, `order` prerequisite, remark, steps, step_description, expected_result, custom_fields @@ -164,8 +163,8 @@ demand_name, `status`, custom_num, step_model, create_user, original_status, delete_time, delete_user_id, `order`, - demand_platform, prerequisite, remark, - steps, step_description, expected_result, + prerequisite, remark, steps, + step_description, expected_result, custom_fields) values (#{id,jdbcType=VARCHAR}, #{nodeId,jdbcType=VARCHAR}, #{nodePath,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, @@ -176,8 +175,8 @@ #{demandName,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{customNum,jdbcType=VARCHAR}, #{stepModel,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{originalStatus,jdbcType=VARCHAR}, #{deleteTime,jdbcType=BIGINT}, #{deleteUserId,jdbcType=VARCHAR}, #{order,jdbcType=BIGINT}, - #{demandPlatform,jdbcType=VARCHAR}, #{prerequisite,jdbcType=LONGVARCHAR}, #{remark,jdbcType=LONGVARCHAR}, - #{steps,jdbcType=LONGVARCHAR}, #{stepDescription,jdbcType=LONGVARCHAR}, #{expectedResult,jdbcType=LONGVARCHAR}, + #{prerequisite,jdbcType=LONGVARCHAR}, #{remark,jdbcType=LONGVARCHAR}, #{steps,jdbcType=LONGVARCHAR}, + #{stepDescription,jdbcType=LONGVARCHAR}, #{expectedResult,jdbcType=LONGVARCHAR}, #{customFields,jdbcType=LONGVARCHAR}) @@ -264,9 +263,6 @@ `order`, - - demand_platform, - prerequisite, @@ -368,9 +364,6 @@ #{order,jdbcType=BIGINT}, - - #{demandPlatform,jdbcType=VARCHAR}, - #{prerequisite,jdbcType=LONGVARCHAR}, @@ -481,9 +474,6 @@ `order` = #{record.order,jdbcType=BIGINT}, - - demand_platform = #{record.demandPlatform,jdbcType=VARCHAR}, - prerequisite = #{record.prerequisite,jdbcType=LONGVARCHAR}, @@ -536,7 +526,6 @@ delete_time = #{record.deleteTime,jdbcType=BIGINT}, delete_user_id = #{record.deleteUserId,jdbcType=VARCHAR}, `order` = #{record.order,jdbcType=BIGINT}, - demand_platform = #{record.demandPlatform,jdbcType=VARCHAR}, prerequisite = #{record.prerequisite,jdbcType=LONGVARCHAR}, remark = #{record.remark,jdbcType=LONGVARCHAR}, steps = #{record.steps,jdbcType=LONGVARCHAR}, @@ -575,8 +564,7 @@ original_status = #{record.originalStatus,jdbcType=VARCHAR}, delete_time = #{record.deleteTime,jdbcType=BIGINT}, delete_user_id = #{record.deleteUserId,jdbcType=VARCHAR}, - `order` = #{record.order,jdbcType=BIGINT}, - demand_platform = #{record.demandPlatform,jdbcType=VARCHAR} + `order` = #{record.order,jdbcType=BIGINT} @@ -662,9 +650,6 @@ `order` = #{order,jdbcType=BIGINT}, - - demand_platform = #{demandPlatform,jdbcType=VARCHAR}, - prerequisite = #{prerequisite,jdbcType=LONGVARCHAR}, @@ -714,7 +699,6 @@ delete_time = #{deleteTime,jdbcType=BIGINT}, delete_user_id = #{deleteUserId,jdbcType=VARCHAR}, `order` = #{order,jdbcType=BIGINT}, - demand_platform = #{demandPlatform,jdbcType=VARCHAR}, prerequisite = #{prerequisite,jdbcType=LONGVARCHAR}, remark = #{remark,jdbcType=LONGVARCHAR}, steps = #{steps,jdbcType=LONGVARCHAR}, @@ -750,8 +734,7 @@ original_status = #{originalStatus,jdbcType=VARCHAR}, delete_time = #{deleteTime,jdbcType=BIGINT}, delete_user_id = #{deleteUserId,jdbcType=VARCHAR}, - `order` = #{order,jdbcType=BIGINT}, - demand_platform = #{demandPlatform,jdbcType=VARCHAR} + `order` = #{order,jdbcType=BIGINT} where id = #{id,jdbcType=VARCHAR} \ No newline at end of file