|
|
@ -114,7 +114,7 @@ public class GridOperatorInfoServiceImpl extends BaseServiceImpl<GridOperatorInf |
|
|
|
entity.setAllDeptNames(deptDTO.getAllDeptNames()); |
|
|
|
entity.setParentDeptIds(deptDTO.getParentDeptIds()); |
|
|
|
entity.setParentDeptNames(deptDTO.getParentDeptNames()); |
|
|
|
entity.setDeptId(Long.valueOf(dto.getAllDeptIds()[dto.getAllDeptIds().length - 1])); |
|
|
|
entity.setDeptId(deptDTO.getGridId()); |
|
|
|
} |
|
|
|
} |
|
|
|
insert(entity); |
|
|
@ -134,6 +134,7 @@ public class GridOperatorInfoServiceImpl extends BaseServiceImpl<GridOperatorInf |
|
|
|
entity.setAllDeptNames(deptDTO.getAllDeptNames()); |
|
|
|
entity.setParentDeptIds(deptDTO.getParentDeptIds()); |
|
|
|
entity.setParentDeptNames(deptDTO.getParentDeptNames()); |
|
|
|
entity.setDeptId(deptDTO.getGridId()); |
|
|
|
} |
|
|
|
updateById(entity); |
|
|
|
} |
|
|
|