From b524de78fd8f98e4a2ab99238a24e7f53fcc681d Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期一, 24 十月 2022 01:30:30 +0800
Subject: [PATCH] 优化代码
---
service-common/src/main/java/com/java110/common/cmd/machine/CustomCarInOutCmd.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/service-common/src/main/java/com/java110/common/cmd/machine/CustomCarInOutCmd.java b/service-common/src/main/java/com/java110/common/cmd/machine/CustomCarInOutCmd.java
index 99a4565..f5cdf45 100644
--- a/service-common/src/main/java/com/java110/common/cmd/machine/CustomCarInOutCmd.java
+++ b/service-common/src/main/java/com/java110/common/cmd/machine/CustomCarInOutCmd.java
@@ -137,8 +137,9 @@
if(resultVo.getCode() != ResultVo.CODE_OK){
throw new CmdException(resultVo.getMsg());
}
-
- JSONObject orderInfo = JSONObject.parseObject(resultVo.getData().toString());
+ String data = JSONObject.toJSONString(resultVo.getData());
+ JSONObject orderInfo = JSONObject.parseObject(data);
+ //JSONObject orderInfo = JSONObject.parseObject(resultVo.getData().toString());
tempCarPayOrderDto = new TempCarPayOrderDto();
tempCarPayOrderDto.setCarNum(reqJson.getString("carNum"));
--
Gitblit v1.8.0