人员中处理同步专家库优化

This commit is contained in:
yuxueliang0813 2024-12-20 18:23:57 +08:00
parent 2f5cd7d8d1
commit 7097fd7040
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ public class DobeDWpersonTask extends AbstractTask implements Plugin {
}
}
//处理新增 评标专家库
if(deptOrg != null){
if(deptOrg != null && ptinfo != null){
proficientInfo = BusinessDataServiceHelper.newDynamicObject(proficientName);
proficientInfo.set("billno",number);//专家编号
proficientInfo.set("name",name);//专家姓名

View File

@ -171,7 +171,7 @@ public class DobeDWpersonUpdateTask extends AbstractTask implements Plugin {
}
//处理新增 评标专家库
proficientInfo = BusinessDataServiceHelper.loadSingle(proficientName,new QFilter[]{new QFilter("billno","=",number)});
if(proficientInfo == null && deptOrg != null){
if(proficientInfo == null && deptOrg != null && ptinfo != null){
proficientInfo = BusinessDataServiceHelper.newDynamicObject(proficientName);
proficientInfo.set("billno",number);//专家编号
proficientInfo.set("name",name);//专家姓名