|
|
@ -70,8 +70,10 @@ |
|
|
|
AND ie.GRID_ID = #{orgId} |
|
|
|
</if> |
|
|
|
<if test='"agency" == orgType'> |
|
|
|
<if test='null != orgId and "" != orgId'> |
|
|
|
AND (ie.AGENCY_ID = #{orgId} or ie.AGENCY_PIDS like concat('%',#{orgId},'%')) |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test='null==orgType or "" == orgType'> |
|
|
|
AND ( |
|
|
|
ie.AGENCY_ID = #{staffAgencyId} |
|
|
|