This commit is contained in:
shuo.wang
2025-03-01 17:45:14 +08:00
parent dea88558c5
commit ceb385dee7

View File

@@ -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>