From 57b06020ea14b6e3c931325a1531f1e453177ec1 Mon Sep 17 00:00:00 2001
From: wanggongfeng <1305282856@qq.com>
Date: Mon, 24 Oct 2022 17:03:17 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=9D=E5=AE=A1=EF=BC=8C?=
=?UTF-8?q?=E7=BB=88=E5=AE=A1=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3---?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/mapper/item/ItemDao.xml | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml b/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml
index d04de2beb..cf5a49787 100755
--- a/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml
+++ b/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml
@@ -685,11 +685,14 @@
and b.HANDLER_DEPT != '网格化平台'
) process on process.ITEM_ID = item.ID
WHERE item.DEL_FLAG = '0'
- AND item.evaluation_score = '0'
- AND item.evaluation_time ( NOW() - interval 24 HOUR )
and (process.state is not null and process.state not in (11,14,15,1002))
- and (item.IS_PEOPLE = '0' or (item.IS_PEOPLE = '1' and item.PEOPLE_FLAG = '0'))
-
+ and item.IS_PEOPLE = '1'
+ and (
+ (item.PEOPLE_FLAG = '0'
+ AND item.evaluation_score = '0'
+ AND item.evaluation_time ( NOW() - interval 24 HOUR ))
+ or item.PEOPLE_FLAG in ('1','2')
+ )
and (process.state != 0 or process.state is null)
@@ -795,7 +798,7 @@
WHERE item.DEL_FLAG = '0'
AND item.evaluation_score = '0'
and (process.state is not null and process.state in (1002))
- and (item.IS_PEOPLE = '0' or (item.IS_PEOPLE = '1' and item.PEOPLE_FLAG = '0'))
+ and item.IS_PEOPLE = '1'
and (process.state != 0 or process.state is null)