From 5f0b4dced466ca0a7a0a0242c78b22a722a2f5f4 Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期四, 01 八月 2024 10:47:59 +0800
Subject: [PATCH] 优化代码

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmClientAmountDayLastMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmClientAmountDayLastMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmClientAmountDayLastMapper.xml
index 2446e7e..997fdf5 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmClientAmountDayLastMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmClientAmountDayLastMapper.xml
@@ -198,7 +198,7 @@
         and sc.name like CONCAT('%',#{clientName,jdbcType=VARCHAR},'%')
       </if>
       <if test="clientId != null">
-        and rcad.client_id = #{clientId}
+        and rcadl.client_id = #{clientId}
       </if>
       <if test="startDt != null">
         and rcadl.dt &gt;= #{startDt,jdbcType=DATE}
@@ -229,7 +229,7 @@
         and sc.name like CONCAT('%',#{clientName,jdbcType=VARCHAR},'%')
       </if>
       <if test="clientId != null">
-        and rcad.client_id = #{clientId}
+        and rcadl.client_id = #{clientId}
       </if>
       <if test="startDt != null">
         and rcadl.dt &gt;= #{startDt,jdbcType=DATE}

--
Gitblit v1.8.0