fix
This commit is contained in:
@@ -346,11 +346,15 @@
|
||||
select
|
||||
<include refid="allColumn"/>
|
||||
from xfsg_shop_info where line_id = #{lineId} and deleted= '0'
|
||||
<if test="list!=null and list.size>0">
|
||||
and region_id in
|
||||
<foreach collection="list" index="index" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
<if test="userId!=null and userId!=''">
|
||||
and( investment_manager = #{userId}
|
||||
<if test="list!=null and list.size>0">
|
||||
or region_id in
|
||||
<foreach collection="list" index="index" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
)
|
||||
</if>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user