From 3fe912a1d0ceca7cd0281e26b798b55b539ec2cd Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 15 十月 2024 15:19:56 +0800
Subject: [PATCH] 修改通信中间件上行数据的漏损量处理逻辑,对于当天发现的控制器,控制器计算的漏损量一定不正确,强制设置成0;

---
 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