多店铺需求
This commit is contained in:
parent
ca8d49bac7
commit
aa884dbab8
|
|
@ -48,7 +48,6 @@ public class ShopUserSyncServiceImpl implements ShopUserSyncService {
|
|||
// 合并逻辑2:(主店有、分店没有)不用采取任何操作,使用主店的会员信息
|
||||
// 合并逻辑3:(主店没有、分店有)把shop_id改为主店shop_id,把分店会员信息jsonArray格式化存储至merged_users字段中
|
||||
// 合并逻辑4:当用户补充了手机号码或则修改了手机号码,则需要按照手机号码进行会员信息合并,把逻辑1,2,3重新执行一遍
|
||||
// 查询逻辑:在下单时选择会员信息时,查询时用适用门店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 -> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue