From ce7bf2e6ff801146d2ee02825b23d186e110c523 Mon Sep 17 00:00:00 2001
From: 彭雪彬 <1724387007@qq.com>
Date: Tue, 22 Jul 2025 18:06:35 +0800
Subject: [PATCH] 骑手送达照片记录

---
 oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml b/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml
index f5dd43c..86f4724 100644
--- a/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml
+++ b/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml
@@ -35,6 +35,12 @@
                 AND operation_time BETWEEN #{criteria.operationTime[0]} AND #{criteria.operationTime[1]}
             </if>
         </where>
-        order by log_id desc
+        order by log_id
+    </select>
+    <select id="getByOrderNum" resultMap="BaseResultMap">
+        select
+        <include refid="Base_Column_List"/>
+        from sh_order_operation_log
+        where order_num = #{orderNum} order by log_id
     </select>
 </mapper>

--
Gitblit v1.9.3