装修调整

This commit is contained in:
shuo.wang
2025-08-06 19:20:13 +08:00
parent 0cc58a252e
commit fe13e9edfa
9 changed files with 93 additions and 0 deletions

View File

@@ -355,4 +355,8 @@ public class ShopInfoDAO {
}
return shopInfoMapper.updateHqtShopId(shopId, hqtShopId);
}
//查询 需要推送红圈通的门店
public List<ShopInfoDO> getPushHqtShopList(){
return shopInfoMapper.getPushHqtShopList();
}
}

View File

@@ -150,4 +150,7 @@ public interface ShopInfoMapper extends Mapper<ShopInfoDO> {
Integer getNumByShopCode(@Param("shopCode") String shopCode);
Integer updateHqtShopId(@Param("shopId") Long shopId,@Param("hqtShopId") String hqtShopId);
List<ShopInfoDO> getPushHqtShopList();
}

View File

@@ -563,6 +563,17 @@
<select id="getNumByShopCode" resultType="java.lang.Integer">
select count(1) from xfsg_shop_info where shop_code = #{shopCode} and deleted = 0 and shop_status != 2
</select>
<select id="getPushHqtShopList" resultType="com.cool.store.entity.ShopInfoDO">
SELECT * FROM xfsg_shop_info a
LEFT JOIN xfsg_shop_stage_info AS t0 ON a.id = t0.shop_id
WHERE t0.shop_sub_stage_status = 891 and a.deleted = 0 and a.shop_status != 2 and
a.id in
(SELECT a.`shop_id`
FROM xfsg_shop_stage_info a
LEFT JOIN `xfsg_decoration_measure` b on a.`shop_id` = b.`shop_id`
WHERE a.shop_sub_stage_status = 840 and b.`id` is null)
;
</select>
<update id="batchUpdate" parameterType="list">
<foreach collection="list" item="item" index="index" open="" close="" separator=";">