From a7f0ee46f5a1b0ec8cf7bd3d0701bde6c09de24f Mon Sep 17 00:00:00 2001
From: yxFwq <1>
Date: 星期日, 24 十一月 2024 16:33:41 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/OrderMapper.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/OrderMapper.xml b/src/main/resources/mapper/OrderMapper.xml
index db8816d..f704b63 100644
--- a/src/main/resources/mapper/OrderMapper.xml
+++ b/src/main/resources/mapper/OrderMapper.xml
@@ -66,4 +66,13 @@
INSERT INTO man_order_log SELECT * FROM man_order WHERE id = #{id}
</insert>
+ <select id="selectorderNoL" resultMap="BaseResultMap">
+ select top 10 *
+ from man_order
+ where 1=1
+ <if test="orderNo != null">
+ and order_no = #{orderNo}
+ </if>
+ </select>
+
</mapper>
--
Gitblit v1.9.1