From 2f63acadcd111fe47b2feedf13adb9cffcd64b2c Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期五, 25 十月 2024 13:28:50 +0800
Subject: [PATCH] mes调用立即出库修改
---
src/main/resources/mapper/OrderMapper.xml | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/OrderMapper.xml b/src/main/resources/mapper/OrderMapper.xml
index 06a13d9..d74bcb9 100644
--- a/src/main/resources/mapper/OrderMapper.xml
+++ b/src/main/resources/mapper/OrderMapper.xml
@@ -58,6 +58,17 @@
where 1=1
and id = #{orderId}
</update>
+ <update id="updateSettleAndGroupingFlag">
+ update
+ man_order
+ set
+ settle = #{settle},
+ account_day = #{account_day} ,
+ update_time = getdate()
+ where
+ 1 = 1
+ and id = #{orderId}
+ </update>
<select id="selectWork" resultMap="BaseResultMap">
select top 5 *
@@ -113,5 +124,17 @@
and move_status = 1
order by update_time
</select>
+ <select id="selectNotGroupingList" resultMap="BaseResultMap">
+ select
+ *
+ from
+ man_order mo
+ left join man_doc_type mdt on
+ mo.doc_type = mdt.doc_id
+ where
+ mdt.pakin = 1
+ and mo.account_day = 0
+ and mo.settle = 1
+ </select>
</mapper>
--
Gitblit v1.9.1