From e77ae508afddfd24d8e713a63dfe2b3f46e9f070 Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期四, 31 十月 2024 10:25:34 +0800 Subject: [PATCH] 2024-10-31 农户问题上报添加接口、查询接口、删除接口,在线查询代码优化 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrControllerTrampMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrControllerTrampMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrControllerTrampMapper.xml index c9e5208..a40bbe2 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrControllerTrampMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrControllerTrampMapper.xml @@ -136,13 +136,13 @@ id = #{id,jdbcType=VARCHAR} </if> <if test="rtuAddr != null and rtuAddr != ''"> - AND rtuAddr = #{rtuAddr,jdbcType=VARCHAR} + AND rtuAddr = #{rtuAddr,jdbcType=VARCHAR} </if> <if test="protocol != null and protocol != ''"> - AND protocol = #{protocol,jdbcType=VARCHAR} + AND protocol = #{protocol,jdbcType=VARCHAR} </if> </where> - order by rtuAddr desc + order by id desc <trim prefix="limit " > <if test="start != null and count != null"> #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} -- Gitblit v1.8.0