|
|
@ -430,11 +430,12 @@ |
|
|
</if> |
|
|
</if> |
|
|
FROM screen_dept_event_efficiency |
|
|
FROM screen_dept_event_efficiency |
|
|
WHERE DEL_FLAG = '0' |
|
|
WHERE DEL_FLAG = '0' |
|
|
AND PID = #{deptId} |
|
|
|
|
|
<if test='type == "2"'> |
|
|
<if test='type == "2"'> |
|
|
AND (DEPT_LEVEL = 'street_dept' OR DEPT_LEVEL = 'district_dept') |
|
|
AND (DEPT_LEVEL = 'street_dept' OR DEPT_LEVEL = 'district_dept') |
|
|
</if> |
|
|
</if> |
|
|
<if test='type != "2"'> |
|
|
<if test='type != "2"'> |
|
|
|
|
|
AND PID = #{deptId} |
|
|
AND DEPT_LEVEL != 'street_dept' |
|
|
AND DEPT_LEVEL != 'street_dept' |
|
|
AND DEPT_LEVEL != 'district_dept' |
|
|
AND DEPT_LEVEL != 'district_dept' |
|
|
</if> |
|
|
</if> |
|
|
|