| | |
| | | baseCase.setViolationsVO(violationsVO); |
| | | } else { |
| | | IllegalBuilding illegalBuilding = illegalBuildingMapper.selectById(baseCase.getId()); |
| | | LambdaQueryWrapper<DataDictionary> dict = new LambdaQueryWrapper<>(); |
| | | dict.eq(DataDictionary::getId, illegalBuilding.getCategoryId()); |
| | | DataDictionary dictionary = dataDictionaryMapper.selectOne(dict); |
| | | if (dictionary != null) { |
| | | illegalBuilding.setCategoryText(dictionary.getName()); |
| | | if(illegalBuilding!=null) { |
| | | LambdaQueryWrapper<DataDictionary> dict = new LambdaQueryWrapper<>(); |
| | | dict.eq(DataDictionary::getId, illegalBuilding.getCategoryId()); |
| | | DataDictionary dictionary = dataDictionaryMapper.selectOne(dict); |
| | | if (dictionary != null) { |
| | | illegalBuilding.setCategoryText(dictionary.getName()); |
| | | } |
| | | baseCase.setIllegalBuilding(illegalBuilding); |
| | | } |
| | | baseCase.setIllegalBuilding(illegalBuilding); |
| | | } |
| | | //获取调度信息 |
| | | Map mapD = new HashMap(); |