From c502290c933909595aeb9b46d27b4eb6b35e6d91 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期二, 21 十月 2025 14:31:00 +0800
Subject: [PATCH] 1
---
src/main/resources/mapper/OrderDetlMapper.xml | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/OrderDetlMapper.xml b/src/main/resources/mapper/OrderDetlMapper.xml
index 29f7523..b513892 100644
--- a/src/main/resources/mapper/OrderDetlMapper.xml
+++ b/src/main/resources/mapper/OrderDetlMapper.xml
@@ -53,7 +53,7 @@
</resultMap>
<select id="selectItem" resultMap="BaseResultMap">
- select * from man_order_detl
+ select top 1 * from man_order_detl
where 1=1
and order_id = #{orderId}
and matnr = #{matnr}
@@ -221,4 +221,11 @@
</choose>
</update>
+
+ <update id="increaseWorkQty2">
+ update man_order_detl
+ set work_qty = work_qty + #{workQty}
+ where 1=1
+ and id = #{id}
+ </update>
</mapper>
--
Gitblit v1.9.1