订单管理:完善订单调价分摊逻辑

This commit is contained in:
puhui999
2023-09-10 00:50:13 +08:00
parent 51dab96889
commit c023209aa5
4 changed files with 58 additions and 28 deletions

View File

@ -32,8 +32,8 @@ public class PayOrderApiImpl implements PayOrderApi {
}
@Override
public void updatePayOrderPriceById(Long payOrderId, Integer payPrice) {
payOrderService.updatePayOrderPriceById(payOrderId, payPrice);
public void updatePayOrderPrice(Long id, Integer payPrice) {
payOrderService.updatePayOrderPrice(id, payPrice);
}
}

View File

@ -101,10 +101,10 @@ public interface PayOrderService {
/**
* 更新支付订单价格
*
* @param payOrderId 支付单编号
* @param id 支付单编号
* @param payPrice 支付单价格
*/
void updatePayOrderPriceById(Long payOrderId, Integer payPrice);
void updatePayOrderPrice(Long id, Integer payPrice);
/**
* 获得支付订单