From d4a6c97b4c18ba90a206fbd5912ab91649edc662 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Thu, 28 Nov 2024 10:41:32 +0800
Subject: [PATCH] 应急空间统计查询修改,去除消防沙统计

---
 src/main/java/org/springblade/modules/yw/mapper/RiskSourceMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/yw/mapper/RiskSourceMapper.xml b/src/main/java/org/springblade/modules/yw/mapper/RiskSourceMapper.xml
index 86d8e4e..81d4a15 100644
--- a/src/main/java/org/springblade/modules/yw/mapper/RiskSourceMapper.xml
+++ b/src/main/java/org/springblade/modules/yw/mapper/RiskSourceMapper.xml
@@ -30,6 +30,9 @@
         <if test="riskSource.firmId!=null">
             and yrs.firm_id = #{riskSource.firmId}
         </if>
+        <if test="riskSource.name!=null and riskSource.name!=''">
+            and yrs.name like concat('%',#{riskSource.name},'%')
+        </if>
         <if test="riskSource.riskLevel!=null">
             and yrs.risk_level = #{riskSource.riskLevel}
         </if>

--
Gitblit v1.9.3