From e29dff84a18c5ccbb891ce760487d45db67a8e17 Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期五, 01 十一月 2024 10:27:09 +0800
Subject: [PATCH] 2024-11-01 获取虚拟卡常用充值金额(单位分)

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrControllerTrampMapper.xml |   10 +++++++---
 1 files changed, 7 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 cf61145..a40bbe2 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrControllerTrampMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrControllerTrampMapper.xml
@@ -35,6 +35,10 @@
     delete from pr_controller_tramp
     where id = #{id,jdbcType=BIGINT}
   </delete>
+    <!--娓呯┖娴佹氮鎺у埗鍣ㄨ〃-->
+    <delete id="emptyTrampController">
+        delete from pr_controller_tramp
+    </delete>
   <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoPr.PrControllerTramp">
     <!--@mbg.generated-->
     insert into pr_controller_tramp (id, rtuAddr, protocol,
@@ -132,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