仿真子系统添加<运行图编制工作站>;<新建单位rootId字段没有值>bug修改
This commit is contained in:
parent
e37ee81e86
commit
d96e44f896
@ -11,6 +11,7 @@ public enum MapPrdTypeEnum {
|
||||
SCHEDULING("05", "派班工作站"),
|
||||
ISCS("06", "ISCS工作站"),
|
||||
BIG_SCREEN("07", "大屏工作站"),
|
||||
RUN_PLAN_MAKE("08", "运行图编制工作站")
|
||||
;
|
||||
|
||||
private String code;
|
||||
|
@ -80,6 +80,8 @@ public class OrgUserService implements IOrgUserService {
|
||||
public CompanyVO create(CompanyVO companyVO) {
|
||||
Org entity = companyVO.toDB();
|
||||
this.orgDAO.insert(entity);
|
||||
entity.setRootId(entity.getId());
|
||||
orgDAO.updateByPrimaryKey(entity);
|
||||
return new CompanyVO(entity);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user