From 97675aaafec74cc653d2dff70636241ba0de367d Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期一, 09 九月 2024 14:22:23 +0800 Subject: [PATCH] 2024-09-09 朱宝民 优化交易明细接口 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeCardOperateMapper.xml | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeCardOperateMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeCardOperateMapper.xml index 8c1b53c..d413173 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeCardOperateMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeCardOperateMapper.xml @@ -344,10 +344,6 @@ <if test = "cashierId != null and cashierId > 0"> AND cashierId = #{cashierId} </if> - - <if test = "tradeTime != null"> - AND tradeTime = #{tradeTime} - </if> </where> </select> @@ -368,9 +364,11 @@ </if> </where> ORDER BY tradeTime - <if test="pageCurr != null and pageSize != null"> - LIMIT #{pageCurr}, #{pageSize} - </if> + <trim prefix="limit "> + <if test="start != null and count != null"> + #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} + </if> + </trim> </select> <!--鏍规嵁鎸囧畾鏉′欢鑾峰彇寮�鍗¤褰曟暟閲�--> -- Gitblit v1.8.0