| | |
| | | </if> |
| | | <if test="dto.shopIds != null and dto.shopIds.size() > 0"> |
| | | AND tsg.shop_id IN |
| | | <foreach collection="param.shopIds" item="item" open="(" separator="," close=")"> |
| | | <foreach collection="dto.shopIds" item="item" open="(" separator="," close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | |
| | | <update id="setBelongShopIdNull"> |
| | | UPDATE t_shop |
| | | SET belong_shop_id = NULL |
| | | WHERE belong_shop_id = #{shopId} and del_flag = 0 and shopstatus!=-1 and shop_type = 2 |
| | | WHERE belong_shop_id = #{shopId} and del_flag = 0 and shop_status != -1 and shop_type = 2 |
| | | </update> |
| | | <update id="updateShopByOneClinkSyncing"> |
| | | UPDATE t_shop |