fulonglong 2 vuotta sitten
vanhempi
commit
05205bba28

+ 2 - 1
src/main/java/com/charging/chargingparking/modules/mobileController/ParkingRecordController.java

@@ -120,8 +120,9 @@ public class ParkingRecordController {
         try {
         try {
             JSONObject jsonObject = JSONObject.parseObject(jsonObjectStr);
             JSONObject jsonObject = JSONObject.parseObject(jsonObjectStr);
             AlarmInfoPlate alarmInfoPlate = JSONObject.parseObject(jsonObject.getString("AlarmInfoPlate"), AlarmInfoPlate.class);
             AlarmInfoPlate alarmInfoPlate = JSONObject.parseObject(jsonObject.getString("AlarmInfoPlate"), AlarmInfoPlate.class);
-            log.warn(StrUtil.format("车牌:{},发送数据:{}", alarmInfoPlate.getResult().getPlateResult().getLicense(), alarmInfoPlate));
+            log.warn(StrUtil.format("车牌:{},plateId:{}",alarmInfoPlate.getResult().getPlateResult().getLicense(),alarmInfoPlate.getResult().getPlateResult().getPlateid()));
             resultMap = parkingRecordService.plateRecord(alarmInfoPlate);
             resultMap = parkingRecordService.plateRecord(alarmInfoPlate);
+            log.warn(StrUtil.format("车牌:{},发送数据:{}", alarmInfoPlate.getResult().getPlateResult().getLicense(), JSONObject.parseObject(JSONObject.toJSONString(resultMap))));
         } catch (Exception ex) {
         } catch (Exception ex) {
             log.error(ex.getMessage());
             log.error(ex.getMessage());
         }
         }