mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-04 14:08:01 +08:00
update 打印日志
This commit is contained in:
@@ -688,6 +688,8 @@ public class OrderService {
|
|||||||
Map<String, String> resultMap = Maps.newHashMap();
|
Map<String, String> resultMap = Maps.newHashMap();
|
||||||
resultMap.put("status", status);
|
resultMap.put("status", status);
|
||||||
resultMap.put("reason", reason);
|
resultMap.put("reason", reason);
|
||||||
|
resultMap.put("orderCode", orderInfo.getOrderCode());
|
||||||
|
resultMap.put("pileConnectorCode", orderInfo.getPileConnectorCode());
|
||||||
return resultMap;
|
return resultMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -197,14 +197,13 @@ public class PileMsgRecordServiceImpl implements PileMsgRecordService {
|
|||||||
private String transactionRecordMsg(String jsonMsg) {
|
private String transactionRecordMsg(String jsonMsg) {
|
||||||
JSONObject jsonObject = JSONObject.parseObject(jsonMsg);
|
JSONObject jsonObject = JSONObject.parseObject(jsonMsg);
|
||||||
|
|
||||||
|
|
||||||
// 订单号
|
|
||||||
String orderCode = jsonObject.getString("orderCode");
|
|
||||||
|
|
||||||
// 交易流水号
|
// 交易流水号
|
||||||
String transactionCode = jsonObject.getString("transactionCode");
|
String transactionCode = jsonObject.getString("transactionCode");
|
||||||
OrderBasicInfo orderBasicInfo = orderBasicInfoService.getOrderInfoByTransactionCode(transactionCode);
|
OrderBasicInfo orderBasicInfo = orderBasicInfoService.getOrderInfoByTransactionCode(transactionCode);
|
||||||
|
|
||||||
|
// 订单号
|
||||||
|
String orderCode = orderBasicInfo.getOrderCode();
|
||||||
|
|
||||||
// 充电度数
|
// 充电度数
|
||||||
String totalElectricity = jsonObject.getString("totalElectricity");
|
String totalElectricity = jsonObject.getString("totalElectricity");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user