dubblo报错修复

This commit is contained in:
张松 2025-09-28 19:30:29 +08:00
parent 0846ae21e7
commit f7bc38994a
3 changed files with 7 additions and 5 deletions

View File

@ -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);
}

View File

@ -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);

View File

@ -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;