|
@@ -214,11 +214,15 @@ public class PerfRankMgmtSaveOpPlugin extends AbstractOperationServicePlugIn imp
|
|
|
DynamicObject empPosOrg = empPosOrgRelByEmployeesMap.get(person.getLong(FormConstant.ID_KEY));
|
|
DynamicObject empPosOrg = empPosOrgRelByEmployeesMap.get(person.getLong(FormConstant.ID_KEY));
|
|
|
if(entry.getDynamicObject(FormConstant.NCKD_DEP) == null){
|
|
if(entry.getDynamicObject(FormConstant.NCKD_DEP) == null){
|
|
|
//赋值组织
|
|
//赋值组织
|
|
|
- entry.set(FormConstant.NCKD_DEP,empPosOrg.get(FormConstant.ADMINORG));
|
|
|
|
|
|
|
+ if(empPosOrg != null) {
|
|
|
|
|
+ entry.set(FormConstant.NCKD_DEP, empPosOrg.get(FormConstant.ADMINORG));
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
if(entry.getDynamicObject(PositionStructureConstant.NCKD_POSITIONHR) == null){
|
|
if(entry.getDynamicObject(PositionStructureConstant.NCKD_POSITIONHR) == null){
|
|
|
//赋值岗位
|
|
//赋值岗位
|
|
|
- entry.set(PositionStructureConstant.NCKD_POSITIONHR,empPosOrg.get(FormConstant.POSITION_KEY));
|
|
|
|
|
|
|
+ if(empPosOrg != null) {
|
|
|
|
|
+ entry.set(PositionStructureConstant.NCKD_POSITIONHR, empPosOrg.get(FormConstant.POSITION_KEY));
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//生成R排名
|
|
//生成R排名
|