|
|
@ -59,8 +59,7 @@ |
|
|
|
when 0 then 60 |
|
|
|
when 2 then 100 |
|
|
|
else 80 end as satisfactionScore |
|
|
|
from (select * from(select * from esua_epdc_events.epdc_item where DEL_FLAG = '0' |
|
|
|
and GRID_ID not in ( SELECT t.`dept_id` |
|
|
|
from (select * from(select * 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 |
|
|
|