From d91f76b90245603c1c7f08e3d5864ada3f3fbba7 Mon Sep 17 00:00:00 2001 From: 晏有为 <13214124+yan-youwei@user.noreply.gitee.com> Date: 星期一, 27 五月 2024 16:24:37 +0800 Subject: [PATCH] 完成客户管理添加,查询字段优化 --- inspect-server/src/main/resources/mapper/InsOrderMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/InsOrderMapper.xml b/inspect-server/src/main/resources/mapper/InsOrderMapper.xml index 5355d6b..57bb691 100644 --- a/inspect-server/src/main/resources/mapper/InsOrderMapper.xml +++ b/inspect-server/src/main/resources/mapper/InsOrderMapper.xml @@ -159,6 +159,7 @@ inspection_item from (select *,GROUP_CONCAT(inspection_item SEPARATOR ',') inspection_item2 from ins_product where state = 1 GROUP BY ins_sample_id,man_hour_group) b GROUP BY b.ins_sample_id) c ON c.ins_sample_id = isa.id + where (i.state = 1 or i.state = 3 or i.state = 4) ) a <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> ${ew.customSqlSegment} @@ -195,6 +196,9 @@ id=#{id} </where> </update> + <update id="updateStatus"> + update ins_order set state=3 where id=#{id} + </update> <select id="selectSampleDefects" resultMap="selectSampleDefectsMap"> SELECT io.entrust_code,sam.sample,ip.inspection_item,u.name,b.create_time, sam.id -- Gitblit v1.9.3