mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-14 15:00:14 +08:00
update 创建订单
This commit is contained in:
@@ -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())) {
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user