From 02319a08079d4800c11d96bb4afe7999156686d9 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 12 十一月 2024 15:07:51 +0800 Subject: [PATCH] 根据RTU上报状态清除虚拟IC卡占用状态逻辑中,增加一个日期时间限制,以防止清除计划开阀命令的中虚拟IC卡占用状态。 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeReversalMapper.xml | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeReversalMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeReversalMapper.xml index 07d97ac..9e39644 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeReversalMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeReversalMapper.xml @@ -181,8 +181,10 @@ </if> </where> ORDER BY rev.operateDt DESC - <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> </mapper> \ No newline at end of file -- Gitblit v1.8.0