|
|
|
@ -1119,11 +1119,11 @@ public class PatrolResultController extends BaseController { |
|
|
|
} else if (StaEnum.CtlModel.getCode().equals(type)) { |
|
|
|
String Jqtype = ""; |
|
|
|
logger.info("<==================================RECEIVE DATA TO ANALYSIS [61]=============================>"); |
|
|
|
logger.info("BODY: {} \n", messageBody); |
|
|
|
HashSet<String> superiorFilePaths = new HashSet<>(); |
|
|
|
try { |
|
|
|
JsonRootBean jsonRootBean = JSONObject.parseObject(messageBody, JsonRootBean.class); |
|
|
|
List<ItemsInfo> itemsInfoList = jsonRootBean.getItems(); |
|
|
|
logger.info("[MAIN]: 点位数量: {}, 消息体: \n {}", itemsInfoList.size(), messageBody); |
|
|
|
for (ItemsInfo itemsInfo : itemsInfoList) { |
|
|
|
if (StringUtils.isEmpty(itemsInfo.getMaterialId()) && StringUtils.isNotEmpty(itemsInfo.getDeviceId())) { |
|
|
|
Map<String, String> deviceInfoMap = resultAnalysisService.selectDeviceInfo(itemsInfo.getDeviceId()); |
|
|
|
|