From daac5618fc2322620a82d25603c5b4d15465c5ef Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期四, 05 三月 2026 08:04:21 +0800
Subject: [PATCH] #检验流程
---
src/main/resources/mapper/LocDetlMapper.xml | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index 26603c0..5f6d416 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -254,6 +254,10 @@
<foreach item="item" collection="locNos" index="index" separator="," open="(" close=")">
#{item}
</foreach>
+ and a.loc_no + '|' + isnull(a.batch,'') not in
+ <foreach item="item" collection="locNos" index="index" separator="," open="(" close=")">
+ #{item}
+ </foreach>
</if>
order by
@@ -445,4 +449,13 @@
and lm.loc_sts = 'F'
order by ld.appe_time asc
</select>
+
+ <update id="updateInspectNumber">
+ UPDATE asr_loc_detl SET item_num = #{orderNo}
+ WHERE batch = #{batch} and zpallet = #{barcode}
+ </update>
+ <update id="updateInspectionStatus">
+ UPDATE asr_loc_detl SET inspect = #{inspectNumber}
+ WHERE item_num = #{orderNo}
+ </update>
</mapper>
--
Gitblit v1.9.1