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