1.公共方法新增变电站信息查询
2.调整技术监督变电站查询方法
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user