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