From bc8ab2ccb801ece9f2638098e8acd07f3ef1978d Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期五, 30 八月 2024 20:35:09 +0800
Subject: [PATCH] 2024-08-30 朱宝民 解决获取水卡列表接口错误,无虚拟卡时不显示空对象

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

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/OpeFeedbackMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/OpeFeedbackMapper.xml
index f660158..60bfee9 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/OpeFeedbackMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/OpeFeedbackMapper.xml
@@ -212,10 +212,10 @@
     from ope_feedback ofb
     left join se_client sc on ofb.feedbacker_id = sc.id
     <where>
-      <if test="feedbackerId != null">
+      <if test="feedbackerId != null and feedbackerId != '' ">
         and ofb.feedbacker_id = #{feedbackerId,jdbcType=BIGINT}
       </if>
-      <if test="feedbackerName != null">
+      <if test="feedbackerName != null and feedbackerName != '' ">
         and sc.name = #{feedbackerName,jdbcType=VARCHAR}
       </if>
       <if test="timeStart != null">

--
Gitblit v1.8.0