This commit is contained in:
shuo.wang
2025-07-11 15:10:23 +08:00
parent b247bb9f1b
commit 5a0dd61af8

View File

@@ -302,7 +302,7 @@
a.join_mode as joinMode,
a.franchise_brand as franchiseBrand,
a.shop_status as shopStatus,
a.detail_address as shopAddress
a.detail_address as shopAddress,
a.manager_region_id as managerRegionId
from xfsg_shop_info a left join xfsg_line_info b on a.line_id = b.id
<if test="request.contractStartTime !=null and request.contractEndTime != null">
@@ -543,6 +543,14 @@
and xsi.shop_name Like concat("%",#{keyWord},"%") or xsi.store_num Like concat("%",#{keyWord},"%")
</if>
</select>
<select id="selectIsCreateStore" resultType="com.cool.store.entity.ShopInfoDO">
SELECT a.`shop_name` ,a.`shop_code` ,b.*
FROM xfsg_shop_info a
LEFT JOIN store_214ac5a3a517472a87268e02a2e6410a b ON a.shop_code = b.store_num
LEFT JOIN xfsg_shop_stage_info c ON c.shop_id = a.id
WHERE b.store_num is not null and a.shop_code is not null and a.deleted =0 and a.shop_status != 2 and a.shop_code != '' and c.shop_sub_stage_status in (1560)
</select>
<update id="batchUpdate" parameterType="list">
<foreach collection="list" item="item" index="index" open="" close="" separator=";">