This commit is contained in:
shuo.wang
2025-06-27 16:44:44 +08:00
parent ab9e28168e
commit 1be605e5d1
4 changed files with 6 additions and 6 deletions

View File

@@ -64,7 +64,7 @@
left join xfsg_shop_stage_info b on a.shop_id = b.shop_id left join xfsg_shop_stage_info b on a.shop_id = b.shop_id
left join xfsg_shop_info c on a.shop_id = c.id left join xfsg_shop_info c on a.shop_id = c.id
<if test="request.signTypes !=null and request.signTypes.size()>0"> <if test="request.signTypes !=null and request.signTypes.size()>0">
left join xfsg_shop_sign_info sign on a.shop_id = sign.shop_id left join xfsg_sign_franchise sign on a.shop_id = sign.shop_id
</if> </if>
where a.design_user_id = #{userId} where a.design_user_id = #{userId}
and b.shop_sub_stage_status = 901 and b.shop_sub_stage_status = 901

View File

@@ -49,7 +49,7 @@
left join xfsg_shop_stage_info b on a.shop_id = b.shop_id left join xfsg_shop_stage_info b on a.shop_id = b.shop_id
left join xfsg_shop_info c on a.shop_id = c.id left join xfsg_shop_info c on a.shop_id = c.id
<if test="request.signTypes !=null and request.signTypes.size()>0"> <if test="request.signTypes !=null and request.signTypes.size()>0">
left join xfsg_shop_sign_info sign on a.shop_id = sign.shop_id left join xfsg_sign_franchise sign on a.shop_id = sign.shop_id
</if> </if>
where a.measure_user_id = #{measureUserId} where a.measure_user_id = #{measureUserId}
and b.shop_sub_stage_status = 892 and b.shop_sub_stage_status = 892
@@ -114,7 +114,7 @@
left join xfsg_shop_stage_info b on a.shop_id = b.shop_id left join xfsg_shop_stage_info b on a.shop_id = b.shop_id
left join xfsg_shop_info c on a.shop_id = c.id left join xfsg_shop_info c on a.shop_id = c.id
<if test="request.signTypes !=null and request.signTypes.size()>0"> <if test="request.signTypes !=null and request.signTypes.size()>0">
left join xfsg_shop_sign_info sign on a.shop_id = sign.shop_id left join xfsg_sign_franchise sign on a.shop_id = sign.shop_id
</if> </if>
where a.design_user_id = #{userId} where a.design_user_id = #{userId}
and b.shop_sub_stage_status = 900 and b.shop_sub_stage_status = 900
@@ -180,7 +180,7 @@
left join xfsg_shop_info c on a.shop_id = c.id left join xfsg_shop_info c on a.shop_id = c.id
left join xfsg_decoration_design_info d on a.shop_id = d.shop_id left join xfsg_decoration_design_info d on a.shop_id = d.shop_id
<if test="request.signTypes !=null and request.signTypes.size()>0"> <if test="request.signTypes !=null and request.signTypes.size()>0">
left join xfsg_shop_sign_info sign on a.shop_id = sign.shop_id left join xfsg_sign_franchise sign on a.shop_id = sign.shop_id
</if> </if>
where where
((b.shop_sub_stage_status = 900 and a.design_user_id = #{userId}) or (b.shop_sub_stage_status = 901 and d.design_user_id = #{userId})) ((b.shop_sub_stage_status = 900 and a.design_user_id = #{userId}) or (b.shop_sub_stage_status = 901 and d.design_user_id = #{userId}))

View File

@@ -82,7 +82,7 @@
from xfsg_operation_log a from xfsg_operation_log a
left join xfsg_shop_info b on a.shop_id = b.id left join xfsg_shop_info b on a.shop_id = b.id
<if test="request.signTypes !=null and request.signTypes.size()>0"> <if test="request.signTypes !=null and request.signTypes.size()>0">
left join xfsg_shop_sign_info sign on a.shop_id = sign.shop_id left join xfsg_sign_franchise sign on a.shop_id = sign.shop_id
</if> </if>
where where
b.deleted=0 b.deleted=0

View File

@@ -305,7 +305,7 @@
from xfsg_shop_stage_info a from xfsg_shop_stage_info a
left join xfsg_shop_info si on a.shop_id = si.id left join xfsg_shop_info si on a.shop_id = si.id
<if test="request.signTypes != null and request.signTypes.size() >0"> <if test="request.signTypes != null and request.signTypes.size() >0">
left join xfsg_sign_info sign on a.shop_id = sign.shop_id left join xfsg_sign_franchise sign on a.shop_id = sign.shop_id
</if> </if>
<where> <where>
si.deleted = 0 and a.is_terminated = 0 and si.shop_status !=2 si.deleted = 0 and a.is_terminated = 0 and si.shop_status !=2