Browse Source

更新黄灯逻辑

feature/zhy_updatepush
zhangyuan 5 years ago
parent
commit
eba0597d98
  1. 5
      epdc-cloud-analysis-pc/src/main/resources/mapper/screen/ScreenProjectDataDao.xml

5
epdc-cloud-analysis-pc/src/main/resources/mapper/screen/ScreenProjectDataDao.xml

@ -44,7 +44,10 @@
t1.CATEGORY_FULL_NAME as allCategoryName,
t2.IMG_URL as projectImgUrl,
t3.CREATED_TIME as closeCaseTime,
case when t1.ITEM_STATE = 10 then 3 when t3.id is null then 1 else 2 end as projectLevel
case
when t1.ITEM_STATE = 10 then 3
when (select ID from esua_epdc_events.epdc_item_handle_process where STATE != 10 and DEL_FLAG ='0' and ITEM_ID = t1.ID group by t1.ID) is null then 1
else 2 end as projectLevel
from (select * from(select * from esua_epdc_events.epdc_item where DEL_FLAG = '0'
and GRID_ID not in ( SELECT t.`dept_id`
FROM `esua_epdc_admin`.`sys_dept_config` t

Loading…
Cancel
Save