mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
小程序获取订单详情接口添加字段
This commit is contained in:
@@ -540,6 +540,12 @@ public class OrderService {
|
||||
vo.setOrderAmount(String.valueOf(orderBasicInfo.getOrderAmount()));
|
||||
vo.setPayAmount(String.valueOf(orderBasicInfo.getPayAmount()));
|
||||
vo.setPayMode(orderBasicInfo.getPayMode());
|
||||
if (StringUtils.isNotBlank(String.valueOf(stationInfo.getFreeTime()))) {
|
||||
vo.setFreeTime(stationInfo.getFreeTime());
|
||||
}
|
||||
if (StringUtils.isNotBlank(String.valueOf(stationInfo.getOccupyFee()))) {
|
||||
vo.setOccupyFee(stationInfo.getOccupyFee());
|
||||
}
|
||||
// 订单状态描述
|
||||
String orderStatusDescribe = orderBasicInfoService.transformOrderStatusDescribe(orderStatus, orderBasicInfo.getPayStatus());
|
||||
vo.setOrderStatusDescribe(orderStatusDescribe);
|
||||
|
||||
Reference in New Issue
Block a user