|
@ -91,7 +91,7 @@ |
|
|
WHERE |
|
|
WHERE |
|
|
spr.del_flag = '0' |
|
|
spr.del_flag = '0' |
|
|
<if test='orgType != "" and orgType != null and "agency" == orgType'> |
|
|
<if test='orgType != "" and orgType != null and "agency" == orgType'> |
|
|
AND spr.agency_id = #{orgId} |
|
|
AND spr.grid_pids LIKE CONCAT('%', #{orgId}, '%') |
|
|
</if> |
|
|
</if> |
|
|
<if test='orgType != "" and orgType != null and "grid" == orgType'> |
|
|
<if test='orgType != "" and orgType != null and "grid" == orgType'> |
|
|
AND spr.grid = #{orgId} |
|
|
AND spr.grid = #{orgId} |
|
|