|
|
@ -571,20 +571,20 @@ |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test="entList != null and entList.size() == 0"> |
|
|
|
<if test="entList != null and entList.size() == 0"> |
|
|
|
and (op.ent_id = '' or op.ent_id is null) |
|
|
|
and op.ent_id = '' |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="entList != null and entList.size() == 1"> |
|
|
|
<if test="entList != null and entList.size() == 1"> |
|
|
|
and (op.ent_id = |
|
|
|
and op.ent_id = |
|
|
|
<foreach collection="entList" index="index" item="item"> |
|
|
|
<foreach collection="entList" index="index" item="item"> |
|
|
|
#{item} |
|
|
|
#{item} |
|
|
|
</foreach> or op.ent_id is null) |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="entList != null and entList.size() > 1"> |
|
|
|
<if test="entList != null and entList.size() > 1"> |
|
|
|
and (op.ent_id in |
|
|
|
and op.ent_id in |
|
|
|
<foreach collection="entList" index="index" item="item" |
|
|
|
<foreach collection="entList" index="index" item="item" |
|
|
|
open="(" separator="," close=")"> |
|
|
|
open="(" separator="," close=")"> |
|
|
|
#{item} |
|
|
|
#{item} |
|
|
|
</foreach> or op.ent_id is null) |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="map.bzdh != null and map.bzdh != ''"> |
|
|
|
<if test="map.bzdh != null and map.bzdh != ''"> |
|
|
|
and op.bzdh = #{map.bzdh,jdbcType=VARCHAR} |
|
|
|
and op.bzdh = #{map.bzdh,jdbcType=VARCHAR} |
|
|
|