fix: 退款修改

This commit is contained in:
SongZhang 2024-10-30 18:06:48 +08:00
parent c1145538dc
commit b363044282
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,7 @@ public class TbOrderInfoServiceImpl implements TbOrderInfoService {
if (user == null) {
throw new BadRequestException("用户信息不存在");
}
tbMShopUserMapper.incrBalance(userId, shopId, returnAmount, cn.hutool.core.date.DateUtil.current());
tbMShopUserMapper.incrBalance(user.getId(), shopId, returnAmount, cn.hutool.core.date.DateUtil.current());
TbShopUserFlow flow = new TbShopUserFlow();
flow.setShopUserId(user.getId());