充值修改
This commit is contained in:
@@ -153,13 +153,7 @@ public class UShopUserServiceImpl implements UShopUserService {
|
||||
Long mainId = shopInfoService.getMainIdByShopId(shopId);
|
||||
// 当前用户信息
|
||||
UserInfo userInfo = userInfoService.getById(userId);
|
||||
ShopUser shopUser = shopUserService.getOne(new QueryWrapper().eq(ShopUser::getSourceShopId, shopId).eq(ShopUser::getUserId, userInfo.getId()));
|
||||
if (shopUser == null) {
|
||||
shopUser = new ShopUser();
|
||||
shopUser.setUserId(userId);
|
||||
shopUser.setSourceShopId(shopId);
|
||||
shopUser.setMainShopId(mainId);
|
||||
}
|
||||
ShopUser shopUser = shopUserService.getShopUserInfo(shopId, userId);
|
||||
|
||||
// 查询系统添加的会员
|
||||
UserInfo oriInfo = userInfoService.getOne(new QueryWrapper().eq(UserInfo::getPhone, shopUserAddDTO.getPhone()));
|
||||
|
||||
Reference in New Issue
Block a user