加入会员合并同账号数据
This commit is contained in:
@@ -292,7 +292,7 @@ public class ShopUserServiceImpl extends ServiceImpl<ShopUserMapper, ShopUser> i
|
||||
BeanUtil.copyProperties(shopUserAddDTO, userInfo);
|
||||
userInfoService.updateById(userInfo);
|
||||
|
||||
if (shopUser.getIsVip() != 1 && shopUser.getId() != null) {
|
||||
if ((shopUser.getIsVip() == null || shopUser.getIsVip() != 1) && shopUser.getId() != null) {
|
||||
shopUser.setIsVip(1);
|
||||
if (StrUtil.isBlank(shopUser.getCode())) {
|
||||
shopUser.setCode(generateCode(shopId));
|
||||
|
||||
Reference in New Issue
Block a user