Browse Source

产品数据上报接口

项目信息上报接口 - 同步已删除的数据
master
liuchuang 4 years ago
parent
commit
3d5b34732e
  1. 3
      epdc-cloud-analysis-pc/src/main/resources/mapper/screen/ScreenProjectDataDao.xml
  2. 2
      epdc-cloud-client-yushan
  3. 2
      epdc-cloud-commons-yushan

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

@ -56,8 +56,7 @@
when t1.ITEM_STATE = 0 and (select COUNT(1) from esua_epdc_events.epdc_item_handle_process where DEL_FLAG ='0' and ITEM_ID = t1.ID) = 1 then 1
when (t1.ITEM_STATE = 0 or t1.ITEM_STATE = 5) and (select COUNT(1) from esua_epdc_events.epdc_item_handle_process where DEL_FLAG ='0' and ITEM_ID = t1.ID) > 1 then 2
else '' end as projectLevel
from (select * from(select *, CASE WHEN EVALUATION_SCORE = 2 THEN 100 WHEN EVALUATION_SCORE = 0 THEN 60 ELSE 80 END AS satisfactionScore from esua_epdc_events.epdc_item where DEL_FLAG = '0'
and GRID_ID not in ( SELECT t.`dept_id`
from (select * from(select *, CASE WHEN EVALUATION_SCORE = 2 THEN 100 WHEN EVALUATION_SCORE = 0 THEN 60 ELSE 80 END AS satisfactionScore from esua_epdc_events.epdc_item where GRID_ID not in ( SELECT t.`dept_id`
FROM `esua_epdc_admin`.`sys_dept_config` t
WHERE t.`del_flag`= 0)
order by ID)a group by a.EVENT_ID) t1

2
epdc-cloud-client-yushan

@ -1 +1 @@
Subproject commit d919a78617e83128f5e69428e10e89d22e2e6968
Subproject commit 2cea96391ebb8473f4f5b95d612d7cc058b05081

2
epdc-cloud-commons-yushan

@ -1 +1 @@
Subproject commit 99e4e9b22ede63c92448a14fdd01c74894735411
Subproject commit 7f85691f44d97e67e594213cbb7213350ce6c34b
Loading…
Cancel
Save