From c8934e53e8477189927da76b51177808f21a6348 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 10 九月 2024 11:16:16 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- 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