This commit is contained in:
shuo.wang
2025-02-18 16:20:15 +08:00
parent d1a1df62e9
commit 1c863e40f2

View File

@@ -346,7 +346,11 @@
select
<include refid="allColumn"/>
from xfsg_shop_info where line_id = #{lineId} and deleted= '0'
and ( investment_manager = #{userId}
and ( 1=1
<if test="userId!=null and userId!=''">
or investment_manager = #{userId}
</if>
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=")">