dubblo报错修复
This commit is contained in:
@@ -24,6 +24,6 @@ public interface ShopUserService extends IService<ShopUser> {
|
|||||||
|
|
||||||
ShopUser getShopUserInfo(Long shopId, long userId);
|
ShopUser getShopUserInfo(Long shopId, long userId);
|
||||||
|
|
||||||
@Override
|
|
||||||
boolean updateById(ShopUser entity);
|
boolean updateInfo(ShopUser shopUser);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,10 +46,12 @@ public class ShopUserServiceImpl extends ServiceImpl<ShopUserMapper, ShopUser> i
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean updateById(ShopUser entity) {
|
public boolean updateInfo(ShopUser shopUser) {
|
||||||
return super.updateById(entity);
|
return super.updateById(shopUser);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ShopUser getShopUserInfo(Long shopId, long userId) {
|
public ShopUser getShopUserInfo(Long shopId, long userId) {
|
||||||
Long mainShopId = shopInfoService.getMainIdByShopId(shopId);
|
Long mainShopId = shopInfoService.getMainIdByShopId(shopId);
|
||||||
|
|||||||
@@ -364,7 +364,7 @@ public class TbMemberConfigServiceImpl extends ServiceImpl<TbMemberConfigMapper,
|
|||||||
shopUser.setMemberLevelId(nextConfig.getId());
|
shopUser.setMemberLevelId(nextConfig.getId());
|
||||||
}
|
}
|
||||||
log.info("用户id: {}, 增加经验值: {}, 当前经验值: {}, 当前等级: {}", userId, exp, shopUser.getExperience(), shopUser.getMemberLevelId());
|
log.info("用户id: {}, 增加经验值: {}, 当前经验值: {}, 当前等级: {}", userId, exp, shopUser.getExperience(), shopUser.getMemberLevelId());
|
||||||
shopUserService.updateById(shopUser);
|
shopUserService.updateInfo(shopUser);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user