mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-20 23:29:48 +08:00
update
This commit is contained in:
@@ -338,9 +338,10 @@ public class OrderService {
|
|||||||
.payMode(dto.getPayMode())
|
.payMode(dto.getPayMode())
|
||||||
.orderAmount(BigDecimal.ZERO)
|
.orderAmount(BigDecimal.ZERO)
|
||||||
.startType(dto.getStartType())
|
.startType(dto.getStartType())
|
||||||
.appointmentTime(DateUtils.parseDate(dto.getAppointmentTime(), DateUtils.YYYY_MM_DD_HH_MM_SS))
|
|
||||||
.build();
|
.build();
|
||||||
|
if (StringUtils.equals(dto.getStartType(), StartTypeEnum.APPOINTMENT.getValue())) {
|
||||||
|
orderBasicInfo.setAppointmentTime(DateUtils.parseDate(dto.getAppointmentTime(), DateUtils.YYYY_MM_DD_HH_MM_SS));
|
||||||
|
}
|
||||||
// 订单详情
|
// 订单详情
|
||||||
OrderDetail orderDetail = OrderDetail.builder()
|
OrderDetail orderDetail = OrderDetail.builder()
|
||||||
.orderCode(orderCode)
|
.orderCode(orderCode)
|
||||||
|
|||||||
Reference in New Issue
Block a user