From b7b4510ab85d9c3a31645f56e3d799ad817d9762 Mon Sep 17 00:00:00 2001
From: bfwms <1>
Date: 星期二, 30 九月 2025 08:36:43 +0800
Subject: [PATCH] 订单不转历史
---
src/main/resources/mapper/OrderDetlMapper.xml | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/OrderDetlMapper.xml b/src/main/resources/mapper/OrderDetlMapper.xml
index ed77f18..46097bb 100644
--- a/src/main/resources/mapper/OrderDetlMapper.xml
+++ b/src/main/resources/mapper/OrderDetlMapper.xml
@@ -46,6 +46,7 @@
<result column="update_by" property="updateBy" />
<result column="update_time" property="updateTime" />
<result column="memo" property="memo" />
+ <result column="owner" property="owner" />
</resultMap>
@@ -79,6 +80,12 @@
where 1=1
and order_id = #{orderId}
and qty < anfme
+ </select>
+
+ <select id="selectTotalDetls" resultMap="BaseResultMap">
+ select * from man_order_detl
+ where 1=1
+ and order_id = #{orderId}
</select>
<sql id="pakOutPageCondition">
@@ -181,4 +188,13 @@
and order_id = #{orderId}
</update>
+ <select id="selectRemainder" resultMap="BaseResultMap">
+ select
+ *
+ from man_order_detl
+ where 1=1
+ and anfme > qty
+ and order_id = #{orderId}
+ </select>
+
</mapper>
--
Gitblit v1.9.1