修改更新支付单价格的检视意见

Signed-off-by: 杨宇庆 <hiyyq@qq.com>
This commit is contained in:
杨宇庆 2024-09-11 06:37:44 +00:00 committed by Gitee
parent dfb1b6b823
commit e5dcf0f1cd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -431,9 +431,7 @@ public class PayOrderServiceImpl implements PayOrderService {
return;
}
// TODO 芋艿应该 new 出来更新
order.setPrice(payPrice);
orderMapper.updateById(order);
orderMapper.updateById(new PayOrderDO().setId(order.getId()).setPrice(payPrice));
}
@Override