1.公共方法新增变电站信息查询

2.调整技术监督变电站查询方法
This commit is contained in:
wr
2024-03-21 13:23:47 +08:00
parent 72bb397cbf
commit 082b27720b
19 changed files with 254 additions and 32 deletions

View File

@@ -114,6 +114,9 @@ public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements ID
}
//默认为正常状态
dept.setState(DataStateEnum.ENABLE.getCode());
if (StrUtil.isBlank(dept.getCode())){
dept.setCode(dept.getId());
}
return this.save(dept);
}