diff --git a/op-modules/op-quality/src/main/java/com/op/quality/domain/QcCheckProject.java b/op-modules/op-quality/src/main/java/com/op/quality/domain/QcCheckProject.java index 9fa1b38f..e01a6f67 100644 --- a/op-modules/op-quality/src/main/java/com/op/quality/domain/QcCheckProject.java +++ b/op-modules/op-quality/src/main/java/com/op/quality/domain/QcCheckProject.java @@ -7,7 +7,7 @@ import com.op.common.core.web.domain.BaseEntity; /** * 检验项目维护对象 qc_check_project - * + * * @author Open Platform * @date 2023-10-13 */ @@ -53,11 +53,31 @@ public class QcCheckProject extends BaseEntity { @Excel(name = "工厂编码") private String factoryCode; + private String samplePlan; + + private String judge; + + public String getJudge() { + return judge; + } + + public void setJudge(String judge) { + this.judge = judge; + } + /** 删除标识1删除0正常 */ private String delFlag; private Long serialNumber; + public String getSamplePlan() { + return samplePlan; + } + + public void setSamplePlan(String samplePlan) { + this.samplePlan = samplePlan; + } + public void setId(String id) { this.id = id; } diff --git a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckProjectMapper.xml b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckProjectMapper.xml index 515f9b92..2a8c2f3a 100644 --- a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckProjectMapper.xml +++ b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckProjectMapper.xml @@ -3,7 +3,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - + @@ -20,15 +20,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + + - select id, order_num, rule_name, property_code, check_mode, check_tool, unit_code, check_standard, attr1, create_by, create_time, update_by, update_time, factory_code, del_flag from qc_check_project + select id, order_num, rule_name, property_code, check_mode, check_tool, unit_code, check_standard, + attr1, create_by, create_time, update_by, update_time, factory_code, del_flag,sample_plan, + judge + from qc_check_project - + - + insert into qc_check_project @@ -65,6 +72,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" update_time, factory_code, del_flag, + sample_plan, + judge, #{id}, @@ -82,6 +91,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{updateTime}, #{factoryCode}, #{delFlag}, + #{samplePlan}, + #{judge}, @@ -102,6 +113,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" update_time = #{updateTime}, factory_code = #{factoryCode}, del_flag = #{delFlag}, + sample_plan = #{samplePlan}, + judge = #{judge}, where id = #{id} @@ -111,7 +124,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from qc_check_project where id in + delete from qc_check_project where id in #{id} @@ -122,4 +135,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" FROM qc_check_project WHERE CONVERT(varchar(10),create_time, 120) = CONVERT(varchar(10),GETDATE(), 120) - \ No newline at end of file +