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