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