diff --git a/backend/src/main/java/io/metersphere/base/domain/Issues.java b/backend/src/main/java/io/metersphere/base/domain/Issues.java index 40e357cbf7..03499fc1b6 100644 --- a/backend/src/main/java/io/metersphere/base/domain/Issues.java +++ b/backend/src/main/java/io/metersphere/base/domain/Issues.java @@ -25,9 +25,11 @@ public class Issues implements Serializable { private String creator; + private String resourceId; + private Integer num; - private String resourceId; + private String platformStatus; private static final long serialVersionUID = 1L; } \ No newline at end of file diff --git a/backend/src/main/java/io/metersphere/base/domain/IssuesExample.java b/backend/src/main/java/io/metersphere/base/domain/IssuesExample.java index f70316cb9e..89f871331f 100644 --- a/backend/src/main/java/io/metersphere/base/domain/IssuesExample.java +++ b/backend/src/main/java/io/metersphere/base/domain/IssuesExample.java @@ -784,66 +784,6 @@ public class IssuesExample { return (Criteria) this; } - public Criteria andNumIsNull() { - addCriterion("num is null"); - return (Criteria) this; - } - - public Criteria andNumIsNotNull() { - addCriterion("num is not null"); - return (Criteria) this; - } - - public Criteria andNumEqualTo(Integer value) { - addCriterion("num =", value, "num"); - return (Criteria) this; - } - - public Criteria andNumNotEqualTo(Integer value) { - addCriterion("num <>", value, "num"); - return (Criteria) this; - } - - public Criteria andNumGreaterThan(Integer value) { - addCriterion("num >", value, "num"); - return (Criteria) this; - } - - public Criteria andNumGreaterThanOrEqualTo(Integer value) { - addCriterion("num >=", value, "num"); - return (Criteria) this; - } - - public Criteria andNumLessThan(Integer value) { - addCriterion("num <", value, "num"); - return (Criteria) this; - } - - public Criteria andNumLessThanOrEqualTo(Integer value) { - addCriterion("num <=", value, "num"); - return (Criteria) this; - } - - public Criteria andNumIn(List values) { - addCriterion("num in", values, "num"); - return (Criteria) this; - } - - public Criteria andNumNotIn(List values) { - addCriterion("num not in", values, "num"); - return (Criteria) this; - } - - public Criteria andNumBetween(Integer value1, Integer value2) { - addCriterion("num between", value1, value2, "num"); - return (Criteria) this; - } - - public Criteria andNumNotBetween(Integer value1, Integer value2) { - addCriterion("num not between", value1, value2, "num"); - return (Criteria) this; - } - public Criteria andResourceIdIsNull() { addCriterion("resource_id is null"); return (Criteria) this; @@ -913,6 +853,136 @@ public class IssuesExample { addCriterion("resource_id not between", value1, value2, "resourceId"); return (Criteria) this; } + + public Criteria andNumIsNull() { + addCriterion("num is null"); + return (Criteria) this; + } + + public Criteria andNumIsNotNull() { + addCriterion("num is not null"); + return (Criteria) this; + } + + public Criteria andNumEqualTo(Integer value) { + addCriterion("num =", value, "num"); + return (Criteria) this; + } + + public Criteria andNumNotEqualTo(Integer value) { + addCriterion("num <>", value, "num"); + return (Criteria) this; + } + + public Criteria andNumGreaterThan(Integer value) { + addCriterion("num >", value, "num"); + return (Criteria) this; + } + + public Criteria andNumGreaterThanOrEqualTo(Integer value) { + addCriterion("num >=", value, "num"); + return (Criteria) this; + } + + public Criteria andNumLessThan(Integer value) { + addCriterion("num <", value, "num"); + return (Criteria) this; + } + + public Criteria andNumLessThanOrEqualTo(Integer value) { + addCriterion("num <=", value, "num"); + return (Criteria) this; + } + + public Criteria andNumIn(List values) { + addCriterion("num in", values, "num"); + return (Criteria) this; + } + + public Criteria andNumNotIn(List values) { + addCriterion("num not in", values, "num"); + return (Criteria) this; + } + + public Criteria andNumBetween(Integer value1, Integer value2) { + addCriterion("num between", value1, value2, "num"); + return (Criteria) this; + } + + public Criteria andNumNotBetween(Integer value1, Integer value2) { + addCriterion("num not between", value1, value2, "num"); + return (Criteria) this; + } + + public Criteria andPlatformStatusIsNull() { + addCriterion("platform_status is null"); + return (Criteria) this; + } + + public Criteria andPlatformStatusIsNotNull() { + addCriterion("platform_status is not null"); + return (Criteria) this; + } + + public Criteria andPlatformStatusEqualTo(String value) { + addCriterion("platform_status =", value, "platformStatus"); + return (Criteria) this; + } + + public Criteria andPlatformStatusNotEqualTo(String value) { + addCriterion("platform_status <>", value, "platformStatus"); + return (Criteria) this; + } + + public Criteria andPlatformStatusGreaterThan(String value) { + addCriterion("platform_status >", value, "platformStatus"); + return (Criteria) this; + } + + public Criteria andPlatformStatusGreaterThanOrEqualTo(String value) { + addCriterion("platform_status >=", value, "platformStatus"); + return (Criteria) this; + } + + public Criteria andPlatformStatusLessThan(String value) { + addCriterion("platform_status <", value, "platformStatus"); + return (Criteria) this; + } + + public Criteria andPlatformStatusLessThanOrEqualTo(String value) { + addCriterion("platform_status <=", value, "platformStatus"); + return (Criteria) this; + } + + public Criteria andPlatformStatusLike(String value) { + addCriterion("platform_status like", value, "platformStatus"); + return (Criteria) this; + } + + public Criteria andPlatformStatusNotLike(String value) { + addCriterion("platform_status not like", value, "platformStatus"); + return (Criteria) this; + } + + public Criteria andPlatformStatusIn(List values) { + addCriterion("platform_status in", values, "platformStatus"); + return (Criteria) this; + } + + public Criteria andPlatformStatusNotIn(List values) { + addCriterion("platform_status not in", values, "platformStatus"); + return (Criteria) this; + } + + public Criteria andPlatformStatusBetween(String value1, String value2) { + addCriterion("platform_status between", value1, value2, "platformStatus"); + return (Criteria) this; + } + + public Criteria andPlatformStatusNotBetween(String value1, String value2) { + addCriterion("platform_status not between", value1, value2, "platformStatus"); + return (Criteria) this; + } } public static class Criteria extends GeneratedCriteria { diff --git a/backend/src/main/java/io/metersphere/base/domain/TestPlanTestCase.java b/backend/src/main/java/io/metersphere/base/domain/TestPlanTestCase.java index b9b9863758..b39cbbc6b4 100644 --- a/backend/src/main/java/io/metersphere/base/domain/TestPlanTestCase.java +++ b/backend/src/main/java/io/metersphere/base/domain/TestPlanTestCase.java @@ -1,7 +1,6 @@ package io.metersphere.base.domain; import java.io.Serializable; - import lombok.Data; @Data @@ -12,6 +11,8 @@ public class TestPlanTestCase implements Serializable { private String caseId; + private String reportId; + private String executor; private String status; @@ -22,8 +23,6 @@ public class TestPlanTestCase implements Serializable { private Long updateTime; - private String reportId; - private String createUser; private Integer issuesCount; diff --git a/backend/src/main/java/io/metersphere/base/domain/TestPlanTestCaseExample.java b/backend/src/main/java/io/metersphere/base/domain/TestPlanTestCaseExample.java index 3498cecb28..2f9942627d 100644 --- a/backend/src/main/java/io/metersphere/base/domain/TestPlanTestCaseExample.java +++ b/backend/src/main/java/io/metersphere/base/domain/TestPlanTestCaseExample.java @@ -314,6 +314,76 @@ public class TestPlanTestCaseExample { return (Criteria) this; } + public Criteria andReportIdIsNull() { + addCriterion("report_id is null"); + return (Criteria) this; + } + + public Criteria andReportIdIsNotNull() { + addCriterion("report_id is not null"); + return (Criteria) this; + } + + public Criteria andReportIdEqualTo(String value) { + addCriterion("report_id =", value, "reportId"); + return (Criteria) this; + } + + public Criteria andReportIdNotEqualTo(String value) { + addCriterion("report_id <>", value, "reportId"); + return (Criteria) this; + } + + public Criteria andReportIdGreaterThan(String value) { + addCriterion("report_id >", value, "reportId"); + return (Criteria) this; + } + + public Criteria andReportIdGreaterThanOrEqualTo(String value) { + addCriterion("report_id >=", value, "reportId"); + return (Criteria) this; + } + + public Criteria andReportIdLessThan(String value) { + addCriterion("report_id <", value, "reportId"); + return (Criteria) this; + } + + public Criteria andReportIdLessThanOrEqualTo(String value) { + addCriterion("report_id <=", value, "reportId"); + return (Criteria) this; + } + + public Criteria andReportIdLike(String value) { + addCriterion("report_id like", value, "reportId"); + return (Criteria) this; + } + + public Criteria andReportIdNotLike(String value) { + addCriterion("report_id not like", value, "reportId"); + return (Criteria) this; + } + + public Criteria andReportIdIn(List values) { + addCriterion("report_id in", values, "reportId"); + return (Criteria) this; + } + + public Criteria andReportIdNotIn(List values) { + addCriterion("report_id not in", values, "reportId"); + return (Criteria) this; + } + + public Criteria andReportIdBetween(String value1, String value2) { + addCriterion("report_id between", value1, value2, "reportId"); + return (Criteria) this; + } + + public Criteria andReportIdNotBetween(String value1, String value2) { + addCriterion("report_id not between", value1, value2, "reportId"); + return (Criteria) this; + } + public Criteria andExecutorIsNull() { addCriterion("executor is null"); return (Criteria) this; @@ -644,76 +714,6 @@ public class TestPlanTestCaseExample { return (Criteria) this; } - public Criteria andReportIdIsNull() { - addCriterion("report_id is null"); - return (Criteria) this; - } - - public Criteria andReportIdIsNotNull() { - addCriterion("report_id is not null"); - return (Criteria) this; - } - - public Criteria andReportIdEqualTo(String value) { - addCriterion("report_id =", value, "reportId"); - return (Criteria) this; - } - - public Criteria andReportIdNotEqualTo(String value) { - addCriterion("report_id <>", value, "reportId"); - return (Criteria) this; - } - - public Criteria andReportIdGreaterThan(String value) { - addCriterion("report_id >", value, "reportId"); - return (Criteria) this; - } - - public Criteria andReportIdGreaterThanOrEqualTo(String value) { - addCriterion("report_id >=", value, "reportId"); - return (Criteria) this; - } - - public Criteria andReportIdLessThan(String value) { - addCriterion("report_id <", value, "reportId"); - return (Criteria) this; - } - - public Criteria andReportIdLessThanOrEqualTo(String value) { - addCriterion("report_id <=", value, "reportId"); - return (Criteria) this; - } - - public Criteria andReportIdLike(String value) { - addCriterion("report_id like", value, "reportId"); - return (Criteria) this; - } - - public Criteria andReportIdNotLike(String value) { - addCriterion("report_id not like", value, "reportId"); - return (Criteria) this; - } - - public Criteria andReportIdIn(List values) { - addCriterion("report_id in", values, "reportId"); - return (Criteria) this; - } - - public Criteria andReportIdNotIn(List values) { - addCriterion("report_id not in", values, "reportId"); - return (Criteria) this; - } - - public Criteria andReportIdBetween(String value1, String value2) { - addCriterion("report_id between", value1, value2, "reportId"); - return (Criteria) this; - } - - public Criteria andReportIdNotBetween(String value1, String value2) { - addCriterion("report_id not between", value1, value2, "reportId"); - return (Criteria) this; - } - public Criteria andCreateUserIsNull() { addCriterion("create_user is null"); return (Criteria) this; diff --git a/backend/src/main/java/io/metersphere/base/mapper/IssuesMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/IssuesMapper.xml index 72867f1552..7418f4ddcb 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/IssuesMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/IssuesMapper.xml @@ -12,8 +12,9 @@ - + + @@ -79,7 +80,7 @@ id, title, `status`, create_time, update_time, reporter, lastmodify, platform, project_id, - creator, num, resource_id + creator, resource_id, num, platform_status description, custom_fields @@ -136,13 +137,15 @@ insert into issues (id, title, `status`, create_time, update_time, reporter, lastmodify, platform, project_id, - creator, num, resource_id, - description, custom_fields) + creator, resource_id, num, + platform_status, description, custom_fields + ) values (#{id,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT}, #{reporter,jdbcType=VARCHAR}, #{lastmodify,jdbcType=VARCHAR}, #{platform,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR}, - #{creator,jdbcType=VARCHAR}, #{num,jdbcType=INTEGER}, #{resourceId,jdbcType=VARCHAR}, - #{description,jdbcType=LONGVARCHAR}, #{customFields,jdbcType=LONGVARCHAR}) + #{creator,jdbcType=VARCHAR}, #{resourceId,jdbcType=VARCHAR}, #{num,jdbcType=INTEGER}, + #{platformStatus,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, #{customFields,jdbcType=LONGVARCHAR} + ) insert into issues @@ -177,11 +180,14 @@ creator, + + resource_id, + num, - - resource_id, + + platform_status, description, @@ -221,11 +227,14 @@ #{creator,jdbcType=VARCHAR}, + + #{resourceId,jdbcType=VARCHAR}, + #{num,jdbcType=INTEGER}, - - #{resourceId,jdbcType=VARCHAR}, + + #{platformStatus,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, @@ -274,11 +283,14 @@ creator = #{record.creator,jdbcType=VARCHAR}, + + resource_id = #{record.resourceId,jdbcType=VARCHAR}, + num = #{record.num,jdbcType=INTEGER}, - - resource_id = #{record.resourceId,jdbcType=VARCHAR}, + + platform_status = #{record.platformStatus,jdbcType=VARCHAR}, description = #{record.description,jdbcType=LONGVARCHAR}, @@ -303,8 +315,9 @@ platform = #{record.platform,jdbcType=VARCHAR}, project_id = #{record.projectId,jdbcType=VARCHAR}, creator = #{record.creator,jdbcType=VARCHAR}, - num = #{record.num,jdbcType=INTEGER}, resource_id = #{record.resourceId,jdbcType=VARCHAR}, + num = #{record.num,jdbcType=INTEGER}, + platform_status = #{record.platformStatus,jdbcType=VARCHAR}, description = #{record.description,jdbcType=LONGVARCHAR}, custom_fields = #{record.customFields,jdbcType=LONGVARCHAR} @@ -323,8 +336,9 @@ platform = #{record.platform,jdbcType=VARCHAR}, project_id = #{record.projectId,jdbcType=VARCHAR}, creator = #{record.creator,jdbcType=VARCHAR}, + resource_id = #{record.resourceId,jdbcType=VARCHAR}, num = #{record.num,jdbcType=INTEGER}, - resource_id = #{record.resourceId,jdbcType=VARCHAR} + platform_status = #{record.platformStatus,jdbcType=VARCHAR} @@ -359,11 +373,14 @@ creator = #{creator,jdbcType=VARCHAR}, + + resource_id = #{resourceId,jdbcType=VARCHAR}, + num = #{num,jdbcType=INTEGER}, - - resource_id = #{resourceId,jdbcType=VARCHAR}, + + platform_status = #{platformStatus,jdbcType=VARCHAR}, description = #{description,jdbcType=LONGVARCHAR}, @@ -385,8 +402,9 @@ platform = #{platform,jdbcType=VARCHAR}, project_id = #{projectId,jdbcType=VARCHAR}, creator = #{creator,jdbcType=VARCHAR}, - num = #{num,jdbcType=INTEGER}, resource_id = #{resourceId,jdbcType=VARCHAR}, + num = #{num,jdbcType=INTEGER}, + platform_status = #{platformStatus,jdbcType=VARCHAR}, description = #{description,jdbcType=LONGVARCHAR}, custom_fields = #{customFields,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=VARCHAR} @@ -402,8 +420,9 @@ platform = #{platform,jdbcType=VARCHAR}, project_id = #{projectId,jdbcType=VARCHAR}, creator = #{creator,jdbcType=VARCHAR}, + resource_id = #{resourceId,jdbcType=VARCHAR}, num = #{num,jdbcType=INTEGER}, - resource_id = #{resourceId,jdbcType=VARCHAR} + platform_status = #{platformStatus,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR} \ No newline at end of file diff --git a/backend/src/main/java/io/metersphere/base/mapper/TestPlanTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/TestPlanTestCaseMapper.xml index 69278c7749..69fd0d3aaa 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/TestPlanTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/TestPlanTestCaseMapper.xml @@ -5,14 +5,14 @@ + - - + @@ -78,7 +78,7 @@ - id, plan_id, case_id, executor, `status`, remark, create_time, update_time, report_id, + id, plan_id, case_id, report_id, executor, `status`, remark, create_time, update_time, create_user, issues_count @@ -133,16 +133,16 @@ - insert into test_plan_test_case (id, plan_id, case_id, - executor, `status`, remark, - create_time, update_time, report_id, - create_user, issues_count, results, - issues, actual_result) - values (#{id,jdbcType=VARCHAR}, #{planId,jdbcType=VARCHAR}, #{caseId,jdbcType=VARCHAR}, - #{executor,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, - #{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT}, #{reportId,jdbcType=VARCHAR}, - #{createUser,jdbcType=VARCHAR}, #{issuesCount,jdbcType=INTEGER}, #{results,jdbcType=LONGVARCHAR}, - #{issues,jdbcType=LONGVARCHAR}, #{actualResult,jdbcType=LONGVARCHAR}) + insert into test_plan_test_case (id, plan_id, case_id, + report_id, executor, `status`, + remark, create_time, update_time, + create_user, issues_count, results, + issues, actual_result) + values (#{id,jdbcType=VARCHAR}, #{planId,jdbcType=VARCHAR}, #{caseId,jdbcType=VARCHAR}, + #{reportId,jdbcType=VARCHAR}, #{executor,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, + #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT}, + #{createUser,jdbcType=VARCHAR}, #{issuesCount,jdbcType=INTEGER}, #{results,jdbcType=LONGVARCHAR}, + #{issues,jdbcType=LONGVARCHAR}, #{actualResult,jdbcType=LONGVARCHAR}) insert into test_plan_test_case @@ -156,6 +156,9 @@ case_id, + + report_id, + executor, @@ -171,9 +174,6 @@ update_time, - - report_id, - create_user, @@ -200,6 +200,9 @@ #{caseId,jdbcType=VARCHAR}, + + #{reportId,jdbcType=VARCHAR}, + #{executor,jdbcType=VARCHAR}, @@ -215,9 +218,6 @@ #{updateTime,jdbcType=BIGINT}, - - #{reportId,jdbcType=VARCHAR}, - #{createUser,jdbcType=VARCHAR}, @@ -253,6 +253,9 @@ case_id = #{record.caseId,jdbcType=VARCHAR}, + + report_id = #{record.reportId,jdbcType=VARCHAR}, + executor = #{record.executor,jdbcType=VARCHAR}, @@ -268,9 +271,6 @@ update_time = #{record.updateTime,jdbcType=BIGINT}, - - report_id = #{record.reportId,jdbcType=VARCHAR}, - create_user = #{record.createUser,jdbcType=VARCHAR}, @@ -294,19 +294,19 @@ update test_plan_test_case set id = #{record.id,jdbcType=VARCHAR}, - plan_id = #{record.planId,jdbcType=VARCHAR}, - case_id = #{record.caseId,jdbcType=VARCHAR}, - executor = #{record.executor,jdbcType=VARCHAR}, - `status` = #{record.status,jdbcType=VARCHAR}, - remark = #{record.remark,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=BIGINT}, - update_time = #{record.updateTime,jdbcType=BIGINT}, - report_id = #{record.reportId,jdbcType=VARCHAR}, - create_user = #{record.createUser,jdbcType=VARCHAR}, - issues_count = #{record.issuesCount,jdbcType=INTEGER}, - results = #{record.results,jdbcType=LONGVARCHAR}, - issues = #{record.issues,jdbcType=LONGVARCHAR}, - actual_result = #{record.actualResult,jdbcType=LONGVARCHAR} + plan_id = #{record.planId,jdbcType=VARCHAR}, + case_id = #{record.caseId,jdbcType=VARCHAR}, + report_id = #{record.reportId,jdbcType=VARCHAR}, + executor = #{record.executor,jdbcType=VARCHAR}, + `status` = #{record.status,jdbcType=VARCHAR}, + remark = #{record.remark,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=BIGINT}, + update_time = #{record.updateTime,jdbcType=BIGINT}, + create_user = #{record.createUser,jdbcType=VARCHAR}, + issues_count = #{record.issuesCount,jdbcType=INTEGER}, + results = #{record.results,jdbcType=LONGVARCHAR}, + issues = #{record.issues,jdbcType=LONGVARCHAR}, + actual_result = #{record.actualResult,jdbcType=LONGVARCHAR} @@ -314,16 +314,16 @@ update test_plan_test_case set id = #{record.id,jdbcType=VARCHAR}, - plan_id = #{record.planId,jdbcType=VARCHAR}, - case_id = #{record.caseId,jdbcType=VARCHAR}, - executor = #{record.executor,jdbcType=VARCHAR}, - `status` = #{record.status,jdbcType=VARCHAR}, - remark = #{record.remark,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=BIGINT}, - update_time = #{record.updateTime,jdbcType=BIGINT}, - report_id = #{record.reportId,jdbcType=VARCHAR}, - create_user = #{record.createUser,jdbcType=VARCHAR}, - issues_count = #{record.issuesCount,jdbcType=INTEGER} + plan_id = #{record.planId,jdbcType=VARCHAR}, + case_id = #{record.caseId,jdbcType=VARCHAR}, + report_id = #{record.reportId,jdbcType=VARCHAR}, + executor = #{record.executor,jdbcType=VARCHAR}, + `status` = #{record.status,jdbcType=VARCHAR}, + remark = #{record.remark,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=BIGINT}, + update_time = #{record.updateTime,jdbcType=BIGINT}, + create_user = #{record.createUser,jdbcType=VARCHAR}, + issues_count = #{record.issuesCount,jdbcType=INTEGER} @@ -337,6 +337,9 @@ case_id = #{caseId,jdbcType=VARCHAR}, + + report_id = #{reportId,jdbcType=VARCHAR}, + executor = #{executor,jdbcType=VARCHAR}, @@ -352,9 +355,6 @@ update_time = #{updateTime,jdbcType=BIGINT}, - - report_id = #{reportId,jdbcType=VARCHAR}, - create_user = #{createUser,jdbcType=VARCHAR}, @@ -375,33 +375,33 @@ update test_plan_test_case - set plan_id = #{planId,jdbcType=VARCHAR}, - case_id = #{caseId,jdbcType=VARCHAR}, - executor = #{executor,jdbcType=VARCHAR}, - `status` = #{status,jdbcType=VARCHAR}, - remark = #{remark,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=BIGINT}, - update_time = #{updateTime,jdbcType=BIGINT}, - report_id = #{reportId,jdbcType=VARCHAR}, - create_user = #{createUser,jdbcType=VARCHAR}, - issues_count = #{issuesCount,jdbcType=INTEGER}, - results = #{results,jdbcType=LONGVARCHAR}, - issues = #{issues,jdbcType=LONGVARCHAR}, - actual_result = #{actualResult,jdbcType=LONGVARCHAR} + set plan_id = #{planId,jdbcType=VARCHAR}, + case_id = #{caseId,jdbcType=VARCHAR}, + report_id = #{reportId,jdbcType=VARCHAR}, + executor = #{executor,jdbcType=VARCHAR}, + `status` = #{status,jdbcType=VARCHAR}, + remark = #{remark,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=BIGINT}, + update_time = #{updateTime,jdbcType=BIGINT}, + create_user = #{createUser,jdbcType=VARCHAR}, + issues_count = #{issuesCount,jdbcType=INTEGER}, + results = #{results,jdbcType=LONGVARCHAR}, + issues = #{issues,jdbcType=LONGVARCHAR}, + actual_result = #{actualResult,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=VARCHAR} update test_plan_test_case - set plan_id = #{planId,jdbcType=VARCHAR}, - case_id = #{caseId,jdbcType=VARCHAR}, - executor = #{executor,jdbcType=VARCHAR}, - `status` = #{status,jdbcType=VARCHAR}, - remark = #{remark,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=BIGINT}, - update_time = #{updateTime,jdbcType=BIGINT}, - report_id = #{reportId,jdbcType=VARCHAR}, - create_user = #{createUser,jdbcType=VARCHAR}, - issues_count = #{issuesCount,jdbcType=INTEGER} + set plan_id = #{planId,jdbcType=VARCHAR}, + case_id = #{caseId,jdbcType=VARCHAR}, + report_id = #{reportId,jdbcType=VARCHAR}, + executor = #{executor,jdbcType=VARCHAR}, + `status` = #{status,jdbcType=VARCHAR}, + remark = #{remark,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=BIGINT}, + update_time = #{updateTime,jdbcType=BIGINT}, + create_user = #{createUser,jdbcType=VARCHAR}, + issues_count = #{issuesCount,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR} \ No newline at end of file diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml index f9c320e17f..092f259c41 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml @@ -14,7 +14,7 @@