From 76fe27b7b098cda720198aaa157edee4482351b8 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 12 十一月 2025 13:08:16 +0800
Subject: [PATCH] 成品判料改待判
---
src/main/resources/mapper/OrderDetlMapper.xml | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/OrderDetlMapper.xml b/src/main/resources/mapper/OrderDetlMapper.xml
index 169eb4d..9961bbb 100644
--- a/src/main/resources/mapper/OrderDetlMapper.xml
+++ b/src/main/resources/mapper/OrderDetlMapper.xml
@@ -247,6 +247,13 @@
where 1=1
and order_no= #{orderNo} and brand = #{brand}
</update>
+
+ <update id="updateOrderDetlByModel">
+ update man_order_detl
+ set work_qty = #{count}
+ where 1=1
+ and order_no= #{orderNo} and model = #{model}
+ </update>
<update id="updateOrderDetlQtyByGroupNo">
update man_order_detl
set qty = 1
@@ -273,6 +280,12 @@
where brand = #{brand}
</select>
+ <select id="selectByModel" resultMap="BaseResultMap">
+ select *
+ from man_order_detl
+ where model = #{model}
+ </select>
+
<select id="selectByOrderNoAndPkgGroupNoAndVolumeNo" resultMap="BaseResultMap">
select *
from man_order_detl
@@ -281,4 +294,11 @@
and model = #{model}
</select>
+ <select id="selectByOrderNoAndVolumeNo" resultMap="BaseResultMap">
+ select *
+ from man_order_detl
+ where order_no = #{orderNo}
+ and model = #{model}
+ </select>
+
</mapper>
--
Gitblit v1.9.1