修改部门管理,监测点绑定,未展示监测点bug

This commit is contained in:
wr
2023-04-18 14:26:17 +08:00
parent 3a1f1f9795
commit c97e98fd65
2 changed files with 39 additions and 8 deletions

View File

@@ -208,6 +208,9 @@ public class AreaServiceImpl extends ServiceImpl<AreaMapper, Area> implements IA
areaQueryWrapper.eq("sys_area.type", type);
areaQueryWrapper.eq("sys_area.state", DataStateEnum.ENABLE.getCode());
Area area = this.baseMapper.selectOne(areaQueryWrapper);
if (area.getPid().equals("-1")) {
return area;
}
if (!area.getPid().equals("0")) {
id = area.getPid();
area = areaPro(id, type);