From 00860b3f449e5b3289f2809c199dd56ec75d46e3 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期一, 20 十月 2025 08:57:20 +0800
Subject: [PATCH] 1
---
src/main/resources/mapper/OrderMapper.xml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/OrderMapper.xml b/src/main/resources/mapper/OrderMapper.xml
index db8816d..50c9d9f 100644
--- a/src/main/resources/mapper/OrderMapper.xml
+++ b/src/main/resources/mapper/OrderMapper.xml
@@ -52,6 +52,12 @@
where 1=1
and id = #{orderId}
</update>
+ <update id="updateSettleTo1">
+ UPDATE man_order set settle = 1 WHERE order_no = #{orderNo}
+ </update>
+ <select id="checkDetlWorkQtyLess0" resultType="integer">
+ select count(*) FROM man_order_detl WHERE order_no = #{orderNo} and (work_qty > 0 or qty > 0)
+ </select>
<select id="selectComplete" resultMap="BaseResultMap">
select top 5 *
@@ -59,6 +65,7 @@
where 1=1
and settle = 4
and status = 1
+ and doc_type not in(18,19)
order by create_time asc
</select>
--
Gitblit v1.9.1