From 1c0acae8f08b6f61399ae6acace0807a3ced76cb Mon Sep 17 00:00:00 2001
From: 张天森 <1292933220@qq.com>
Date: 星期四, 08 十二月 2022 13:48:41 +0800
Subject: [PATCH] update

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComEventMapper.xml |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComEventMapper.xml b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComEventMapper.xml
index 1822f23..469d530 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComEventMapper.xml
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComEventMapper.xml
@@ -101,10 +101,10 @@
 				</foreach>
 			</if>
 			<if test="comEvent.level != null and comEvent.level != ''">
+				<if test="comEvent.level == 1">
+					AND type=4 OR current_process_type=4
+				</if>
 				<if test="comEvent.searchId != null and comEvent.searchId != ''">
-					<if test="comEvent.level == 1">
-						AND type=4 OR current_process_type=4
-					</if>
 					<if test="comEvent.level == 2">
 						AND center_id=#{comEvent.searchId} AND current_process_type in(1,5)
 					</if>
@@ -209,10 +209,10 @@
 			</foreach>
 		</if>
 			<if test="comEvent.level != null and comEvent.level != ''">
+				<if test="comEvent.level == 1">
+					AND current_process_type=4
+				</if>
 				<if test="comEvent.searchId != null and comEvent.searchId != ''">
-					<if test="comEvent.level == 1">
-						AND current_process_type=4
-					</if>
 					<if test="comEvent.level == 2">
 						AND center_id=#{comEvent.searchId} AND current_process_type in(1,5)
 					</if>
@@ -259,10 +259,10 @@
 				</foreach>
 			</if>
 			<if test="comEvent.level != null and comEvent.level != ''">
+				<if test="comEvent.level == 1">
+					AND current_process_type=4
+				</if>
 				<if test="comEvent.searchId != null and comEvent.searchId != ''">
-					<if test="comEvent.level == 1">
-						AND type=4 OR current_process_type=4
-					</if>
 					<if test="comEvent.level == 2">
 						AND center_id=#{comEvent.searchId} AND current_process_type in(1,5)
 					</if>

--
Gitblit v1.7.1