From 7d025fa7d34b09cbb6323d919ab40fef8c902ffe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=A9=AC=E4=B8=89=E7=82=AE?= <15856818120@163.com>
Date: Tue, 15 Jul 2025 09:11:01 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A6=85=E9=81=93bug=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../resources/mapper/safetycheck/ViolationManagementMapper.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bonus-modules/bonus-project/src/main/resources/mapper/safetycheck/ViolationManagementMapper.xml b/bonus-modules/bonus-project/src/main/resources/mapper/safetycheck/ViolationManagementMapper.xml
index f822d82..1d32815 100644
--- a/bonus-modules/bonus-project/src/main/resources/mapper/safetycheck/ViolationManagementMapper.xml
+++ b/bonus-modules/bonus-project/src/main/resources/mapper/safetycheck/ViolationManagementMapper.xml
@@ -357,6 +357,9 @@
and wvi.sub_user_id = #{personId}
+
+ and ppi.pro_type = 2
+
and (
wvi.pro_name like concat('%',#{keyWord},'%') or