From aa2d520a06c371e76ef26c78d426a01fca76a2fc Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期五, 07 二月 2025 14:56:35 +0800
Subject: [PATCH] 1
---
src/main/resources/mapper/OrderMapper.xml | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/OrderMapper.xml b/src/main/resources/mapper/OrderMapper.xml
index 99eecd5..2c8443e 100644
--- a/src/main/resources/mapper/OrderMapper.xml
+++ b/src/main/resources/mapper/OrderMapper.xml
@@ -42,6 +42,13 @@
</resultMap>
+ <update id="updateTel">
+ update man_order
+ set tel = #{tel}
+ where 1=1
+ and id = #{orderId}
+ </update>
+
<update id="updateSettle">
update man_order
set settle = #{settle}
@@ -57,18 +64,19 @@
update man_order
set settle = #{settle}
,update_time = getdate()
- ,plt_type = #{plt}
+ ,plt_type = #{plt}
+ ,in_time = #{inTime}
where 1=1
and id = #{orderId}
</update>
<select id="selectComplete" resultMap="BaseResultMap">
- select top 5 *
+ select TOP 5 *
from man_order
where 1=1
and settle = 4
and status = 1
- order by create_time asc
+ order by newID(), create_time asc
</select>
<select id="selectorderNoL" resultMap="BaseResultMap">
--
Gitblit v1.9.1