From d7cbe984b51fb8fa509890809aa75e6416168249 Mon Sep 17 00:00:00 2001
From: ZY <zc857179121@qq.com>
Date: 星期一, 19 八月 2024 08:20:49 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/OrderMapper.xml |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/OrderMapper.xml b/src/main/resources/mapper/OrderMapper.xml
index c1b06a4..cac5835 100644
--- a/src/main/resources/mapper/OrderMapper.xml
+++ b/src/main/resources/mapper/OrderMapper.xml
@@ -39,7 +39,13 @@
         <result column="update_by" property="updateBy" />
         <result column="update_time" property="updateTime" />
         <result column="memo" property="memo" />
+        <result column="move_status" property="moveStatus" />
 
+        <result column="temp1" property="temp1" />
+        <result column="temp2" property="temp2" />
+        <result column="temp3" property="temp3" />
+        <result column="ware_id" property="wareId" />
+        <result column="ware_name" property="wareName" />
     </resultMap>
 
     <update id="updateSettle">
@@ -84,4 +90,19 @@
         </if>
     </select>
 
+    <select id="selectOrderMoveStatus" resultMap="BaseResultMap">
+        select top 1 *
+        from man_order
+        where 1=1
+        and move_status = 2
+    </select>
+
+    <select id="selectOrderMoveStatusInitial" resultMap="BaseResultMap">
+        select top 1 *
+        from man_order
+        where 1=1
+        and move_status = 1
+        order by update_time
+    </select>
+
 </mapper>

--
Gitblit v1.9.1