多店铺需求

This commit is contained in:
Tankaikai 2025-04-09 15:55:56 +08:00
parent ca8d49bac7
commit aa884dbab8
1 changed files with 0 additions and 1 deletions

View File

@ -48,7 +48,6 @@ public class ShopUserSyncServiceImpl implements ShopUserSyncService {
// 合并逻辑2主店有分店没有不用采取任何操作使用主店的会员信息
// 合并逻辑3主店没有分店有把shop_id改为主店shop_id把分店会员信息jsonArray格式化存储至merged_users字段中
// 合并逻辑4当用户补充了手机号码或则修改了手机号码则需要按照手机号码进行会员信息合并把逻辑123重新执行一遍
// 查询逻辑在下单时选择会员信息时查询时用适用门店id like %,1,% and is_merged_to_head = 0
List<ShopUser> branchShopNotPhoneUserList = shopUserMapper.selectListByQuery(QueryWrapper.create().eq(ShopUser::getShopId, branchShopId)
.and(q -> {
q.isNull(ShopUser::getPhone).or(q1 -> {