|
@ -671,10 +671,10 @@ |
|
|
<where> |
|
|
<where> |
|
|
e.DEL_FLAG = 0 |
|
|
e.DEL_FLAG = 0 |
|
|
<if test="null != orgId and orgId != ''"> |
|
|
<if test="null != orgId and orgId != ''"> |
|
|
<if test="null != orgType and orgType !='' and orgType = 'agency'"> |
|
|
<if test="null != orgType and orgType !='' and orgType == 'agency'"> |
|
|
AND e.AGENCY_ID = #{orgId} |
|
|
AND e.AGENCY_ID = #{orgId} |
|
|
</if> |
|
|
</if> |
|
|
<if test="null != orgType and orgType !='' and orgType = 'grid'"> |
|
|
<if test="null != orgType and orgType !='' and orgType == 'grid'"> |
|
|
AND e.GRID_ID = #{orgId} |
|
|
AND e.GRID_ID = #{orgId} |
|
|
</if> |
|
|
</if> |
|
|
</if> |
|
|
</if> |
|
|