From 2ce9436d64aaee5d9743e34f89e64f2207cc8583 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期二, 11 十一月 2025 13:30:47 +0800
Subject: [PATCH] *
---
src/main/resources/mapper/OrderPakoutMapper.xml | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/OrderPakoutMapper.xml b/src/main/resources/mapper/OrderPakoutMapper.xml
index 59ec1d5..7ba6da6 100644
--- a/src/main/resources/mapper/OrderPakoutMapper.xml
+++ b/src/main/resources/mapper/OrderPakoutMapper.xml
@@ -44,7 +44,8 @@
<!-- 涓昏鍥続鐨勯�氱敤鏌ヨ鏄犲皠缁撴灉 -->
<resultMap id="PakoutMainResultMap" type="com.zy.asrs.entity.result.OrderPakoutMainVo">
- <id column="id" property="id" jdbcType="BIGINT"/>
+ <result column="id" property="id" jdbcType="BIGINT"/>
+ <result column="row" property="row" jdbcType="BIGINT"/>
<result column="item_name" property="itemName" jdbcType="VARCHAR"/>
<result column="order_count" property="orderCount" jdbcType="INTEGER"/>
<result column="uuid" property="uuid" jdbcType="VARCHAR"/>
@@ -158,6 +159,7 @@
<if test="status != null and status != ''">
AND status = #{status}
</if>
+ AND row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize})
ORDER BY create_time DESC
</select>
--
Gitblit v1.9.1