update 创建订单

This commit is contained in:
2023-05-26 09:23:14 +08:00
parent d41a3d0531
commit 86b052e139
2 changed files with 4 additions and 0 deletions

View File

@@ -470,6 +470,8 @@ public class OrderService {
.payAmount(dto.getChargeAmount()) .payAmount(dto.getChargeAmount())
.payMode(dto.getPayMode()) .payMode(dto.getPayMode())
.orderAmount(BigDecimal.ZERO) .orderAmount(BigDecimal.ZERO)
.virtualAmount(BigDecimal.ZERO)
.settleAmount(BigDecimal.ZERO)
.startType(dto.getStartType()) .startType(dto.getStartType())
.build(); .build();
if (StringUtils.equals(dto.getStartType(), StartTypeEnum.APPOINTMENT.getValue())) { if (StringUtils.equals(dto.getStartType(), StartTypeEnum.APPOINTMENT.getValue())) {

View File

@@ -1521,6 +1521,8 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
.payTime(new Date()) .payTime(new Date())
.payMode(OrderPayModeEnum.PAYMENT_OF_BALANCE.getValue()) .payMode(OrderPayModeEnum.PAYMENT_OF_BALANCE.getValue())
.orderAmount(BigDecimal.ZERO) .orderAmount(BigDecimal.ZERO)
.virtualAmount(BigDecimal.ZERO)
.settleAmount(BigDecimal.ZERO)
.build(); .build();
// 根据桩编码查询当前计费模板 // 根据桩编码查询当前计费模板
BillingTemplateVO billingTemplateVO = pileBillingTemplateService.selectBillingTemplateDetailByPileSn(pileSn); BillingTemplateVO billingTemplateVO = pileBillingTemplateService.selectBillingTemplateDetailByPileSn(pileSn);