环境监测页面部分接口
This commit is contained in:
parent
ef1842db4f
commit
0d61c1364b
|
|
@ -38,7 +38,7 @@ public class TowerCraneDetectionServiceImpl implements TowerCraneDetectionServic
|
|||
constInfoVo.setTypeCode(TypeCodeUtils.TC_CODE);
|
||||
List<ConstInfoVo> collectDevVoList = mapper.getConstDeviceList(constInfoVo);
|
||||
collectDevVoList.forEach(item -> {
|
||||
if(item != null && item.getConfigData() != null){
|
||||
if(item != null && item.getConfigData() != null && !item.getConfigData().isEmpty()){
|
||||
JSONObject jsonObject = JsonHelper.jsonStrToJsonObj(item.getConfigData());
|
||||
item.setTowerCraneInfo(JsonHelper.jsonObjToBean(jsonObject.getJSONObject("deviceDetail"), TowerCraneInfoVo.class));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue