|
@ -480,7 +480,7 @@ |
|
|
and d.GRID_PIDS like concat(#{orgIdPath},'%') |
|
|
and d.GRID_PIDS like concat(#{orgIdPath},'%') |
|
|
</if> |
|
|
</if> |
|
|
) ed, |
|
|
) ed, |
|
|
( SELECT SUM( CASE WHEN d.DIFFICULT_POINT = 1 THEN 1 ELSE 0 END ) as dang |
|
|
( SELECT SUM( CASE WHEN d.DIFFICULT_POINT = 1 and d.OPERATION_TYPE = 0 THEN 1 ELSE 0 END) as dang |
|
|
FROM ic_event d WHERE d.DEL_FLAG = 0 |
|
|
FROM ic_event d WHERE d.DEL_FLAG = 0 |
|
|
<if test="null != orgIdPath and orgIdPath != ''"> |
|
|
<if test="null != orgIdPath and orgIdPath != ''"> |
|
|
and d.GRID_PIDS like concat(#{orgIdPath},'%') |
|
|
and d.GRID_PIDS like concat(#{orgIdPath},'%') |
|
|