java110 3 lat temu
rodzic
commit
f85f8edf1f

+ 3 - 2
service-common/src/main/java/com/java110/common/cmd/machine/CustomCarInOutCmd.java

@@ -137,8 +137,9 @@ public class CustomCarInOutCmd extends Cmd {
             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"));