| | |
| | | JSONObject result = alarmInfoPlate.getJSONObject("result"); |
| | | JSONObject plateResult = result.getJSONObject("PlateResult"); |
| | | String carNo = plateResult.get("license").toString(); |
| | | String image = plateResult.get("imageFile").toString(); |
| | | // String image = plateResult.get("imageFile").toString(); |
| | | String code = alarmInfoPlate.get("serialno").toString(); |
| | | |
| | | try { |
| | |
| | | } |
| | | |
| | | |
| | | if(StringUtils.isNotBlank(image)){ |
| | | fileInfo = FileUtil.generateBase64StringToFile(image, 1,1); |
| | | fileInfoService.save(fileInfo); |
| | | } |
| | | // if(StringUtils.isNotBlank(image)){ |
| | | // fileInfo = FileUtil.generateBase64StringToFile(image, 1,1); |
| | | // fileInfoService.save(fileInfo); |
| | | // } |
| | | |
| | | |
| | | System.out.println("编号:"+serialno+" 设备识别到了:"+license); |