From 092c7132a48494d69ebb3f72ff8cab3379f7c9ab Mon Sep 17 00:00:00 2001
From: 彭雪彬 <1724387007@qq.com>
Date: Wed, 03 Sep 2025 16:48:32 +0800
Subject: [PATCH] 骑手收入明细查询
---
oying-system/src/main/resources/mapper/sh/OrderReturnMapper.xml | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/oying-system/src/main/resources/mapper/sh/OrderReturnMapper.xml b/oying-system/src/main/resources/mapper/sh/OrderReturnMapper.xml
index 43c48db..53e1556 100644
--- a/oying-system/src/main/resources/mapper/sh/OrderReturnMapper.xml
+++ b/oying-system/src/main/resources/mapper/sh/OrderReturnMapper.xml
@@ -143,7 +143,11 @@
<include refid="Base_Column_List"/>
from sh_order_return as o
<include refid="Where_sql"/>
- order by o.return_id desc ) o
+ order by o.return_id desc
+ <if test="criteria.offset != null">
+ limit #{criteria.offset}, #{criteria.size}
+ </if>
+ ) o
left join sh_order_return_product_snapshot as p on p.return_num = o.return_num
<include refid="Where_Sql_Product"/>
order by o.order_id desc
--
Gitblit v1.9.3