diff --git a/backend/src/main/java/io/metersphere/base/domain/TestPlan.java b/backend/src/main/java/io/metersphere/base/domain/TestPlan.java index 91399bef71..53713dad52 100644 --- a/backend/src/main/java/io/metersphere/base/domain/TestPlan.java +++ b/backend/src/main/java/io/metersphere/base/domain/TestPlan.java @@ -43,8 +43,6 @@ public class TestPlan implements Serializable { private Boolean automaticStatusUpdate; - private String followPeople; - private Boolean repeatCase; private static final long serialVersionUID = 1L; diff --git a/backend/src/main/java/io/metersphere/base/domain/TestPlanExample.java b/backend/src/main/java/io/metersphere/base/domain/TestPlanExample.java index cd83be0238..d7c3597c65 100644 --- a/backend/src/main/java/io/metersphere/base/domain/TestPlanExample.java +++ b/backend/src/main/java/io/metersphere/base/domain/TestPlanExample.java @@ -1354,76 +1354,6 @@ public class TestPlanExample { return (Criteria) this; } - public Criteria andFollowPeopleIsNull() { - addCriterion("follow_people is null"); - return (Criteria) this; - } - - public Criteria andFollowPeopleIsNotNull() { - addCriterion("follow_people is not null"); - return (Criteria) this; - } - - public Criteria andFollowPeopleEqualTo(String value) { - addCriterion("follow_people =", value, "followPeople"); - return (Criteria) this; - } - - public Criteria andFollowPeopleNotEqualTo(String value) { - addCriterion("follow_people <>", value, "followPeople"); - return (Criteria) this; - } - - public Criteria andFollowPeopleGreaterThan(String value) { - addCriterion("follow_people >", value, "followPeople"); - return (Criteria) this; - } - - public Criteria andFollowPeopleGreaterThanOrEqualTo(String value) { - addCriterion("follow_people >=", value, "followPeople"); - return (Criteria) this; - } - - public Criteria andFollowPeopleLessThan(String value) { - addCriterion("follow_people <", value, "followPeople"); - return (Criteria) this; - } - - public Criteria andFollowPeopleLessThanOrEqualTo(String value) { - addCriterion("follow_people <=", value, "followPeople"); - return (Criteria) this; - } - - public Criteria andFollowPeopleLike(String value) { - addCriterion("follow_people like", value, "followPeople"); - return (Criteria) this; - } - - public Criteria andFollowPeopleNotLike(String value) { - addCriterion("follow_people not like", value, "followPeople"); - return (Criteria) this; - } - - public Criteria andFollowPeopleIn(List values) { - addCriterion("follow_people in", values, "followPeople"); - return (Criteria) this; - } - - public Criteria andFollowPeopleNotIn(List values) { - addCriterion("follow_people not in", values, "followPeople"); - return (Criteria) this; - } - - public Criteria andFollowPeopleBetween(String value1, String value2) { - addCriterion("follow_people between", value1, value2, "followPeople"); - return (Criteria) this; - } - - public Criteria andFollowPeopleNotBetween(String value1, String value2) { - addCriterion("follow_people not between", value1, value2, "followPeople"); - return (Criteria) this; - } - public Criteria andRepeatCaseIsNull() { addCriterion("repeat_case is null"); return (Criteria) this; diff --git a/backend/src/main/java/io/metersphere/base/mapper/TestPlanMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/TestPlanMapper.xml index 61c5993297..80166f2507 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/TestPlanMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/TestPlanMapper.xml @@ -21,7 +21,6 @@ - @@ -91,7 +90,7 @@ id, workspace_id, report_id, `name`, description, `status`, stage, test_case_match_rule, executor_match_rule, create_time, update_time, planned_start_time, planned_end_time, actual_start_time, actual_end_time, creator, project_id, execution_times, automatic_status_update, - follow_people, repeat_case + repeat_case tags, report_summary, report_config @@ -151,18 +150,16 @@ create_time, update_time, planned_start_time, planned_end_time, actual_start_time, actual_end_time, creator, project_id, execution_times, - automatic_status_update, follow_people, repeat_case, - tags, report_summary, report_config - ) + automatic_status_update, repeat_case, tags, + report_summary, report_config) values (#{id,jdbcType=VARCHAR}, #{workspaceId,jdbcType=VARCHAR}, #{reportId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{stage,jdbcType=VARCHAR}, #{testCaseMatchRule,jdbcType=VARCHAR}, #{executorMatchRule,jdbcType=VARCHAR}, #{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT}, #{plannedStartTime,jdbcType=BIGINT}, #{plannedEndTime,jdbcType=BIGINT}, #{actualStartTime,jdbcType=BIGINT}, #{actualEndTime,jdbcType=BIGINT}, #{creator,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR}, #{executionTimes,jdbcType=INTEGER}, - #{automaticStatusUpdate,jdbcType=BIT}, #{followPeople,jdbcType=VARCHAR}, #{repeatCase,jdbcType=BIT}, - #{tags,jdbcType=LONGVARCHAR}, #{reportSummary,jdbcType=LONGVARCHAR}, #{reportConfig,jdbcType=LONGVARCHAR} - ) + #{automaticStatusUpdate,jdbcType=BIT}, #{repeatCase,jdbcType=BIT}, #{tags,jdbcType=LONGVARCHAR}, + #{reportSummary,jdbcType=LONGVARCHAR}, #{reportConfig,jdbcType=LONGVARCHAR}) insert into test_plan @@ -224,9 +221,6 @@ automatic_status_update, - - follow_people, - repeat_case, @@ -298,9 +292,6 @@ #{automaticStatusUpdate,jdbcType=BIT}, - - #{followPeople,jdbcType=VARCHAR}, - #{repeatCase,jdbcType=BIT}, @@ -381,9 +372,6 @@ automatic_status_update = #{record.automaticStatusUpdate,jdbcType=BIT}, - - follow_people = #{record.followPeople,jdbcType=VARCHAR}, - repeat_case = #{record.repeatCase,jdbcType=BIT}, @@ -422,7 +410,6 @@ project_id = #{record.projectId,jdbcType=VARCHAR}, execution_times = #{record.executionTimes,jdbcType=INTEGER}, automatic_status_update = #{record.automaticStatusUpdate,jdbcType=BIT}, - follow_people = #{record.followPeople,jdbcType=VARCHAR}, repeat_case = #{record.repeatCase,jdbcType=BIT}, tags = #{record.tags,jdbcType=LONGVARCHAR}, report_summary = #{record.reportSummary,jdbcType=LONGVARCHAR}, @@ -452,7 +439,6 @@ project_id = #{record.projectId,jdbcType=VARCHAR}, execution_times = #{record.executionTimes,jdbcType=INTEGER}, automatic_status_update = #{record.automaticStatusUpdate,jdbcType=BIT}, - follow_people = #{record.followPeople,jdbcType=VARCHAR}, repeat_case = #{record.repeatCase,jdbcType=BIT} @@ -515,9 +501,6 @@ automatic_status_update = #{automaticStatusUpdate,jdbcType=BIT}, - - follow_people = #{followPeople,jdbcType=VARCHAR}, - repeat_case = #{repeatCase,jdbcType=BIT}, @@ -553,7 +536,6 @@ project_id = #{projectId,jdbcType=VARCHAR}, execution_times = #{executionTimes,jdbcType=INTEGER}, automatic_status_update = #{automaticStatusUpdate,jdbcType=BIT}, - follow_people = #{followPeople,jdbcType=VARCHAR}, repeat_case = #{repeatCase,jdbcType=BIT}, tags = #{tags,jdbcType=LONGVARCHAR}, report_summary = #{reportSummary,jdbcType=LONGVARCHAR}, @@ -580,7 +562,6 @@ project_id = #{projectId,jdbcType=VARCHAR}, execution_times = #{executionTimes,jdbcType=INTEGER}, automatic_status_update = #{automaticStatusUpdate,jdbcType=BIT}, - follow_people = #{followPeople,jdbcType=VARCHAR}, repeat_case = #{repeatCase,jdbcType=BIT} where id = #{id,jdbcType=VARCHAR}