fix 没有门店看不到加盟商

This commit is contained in:
shuo.wang
2025-06-26 14:11:26 +08:00
parent 64ac97b2f1
commit deaec48f66

View File

@@ -483,7 +483,7 @@
<if test="wantShopAreaName != null"> <if test="wantShopAreaName != null">
left join xfsg_open_area_info b on a.want_shop_area_id = b.id left join xfsg_open_area_info b on a.want_shop_area_id = b.id
</if> </if>
where a.deleted = 0 and a.line_status = 1 and a.join_status in (1,2) and ( c.deleted = 0 or c.deleted is null) where a.deleted = 0 and a.line_status = 1 and a.join_status in (1,2)
<if test="userId != null and userId != ''"> <if test="userId != null and userId != ''">
and (a.investment_manager = #{userId} or c.investment_manager = #{userId} ) and (a.investment_manager = #{userId} or c.investment_manager = #{userId} )
</if> </if>