人员中处理同步专家库优化
This commit is contained in:
parent
2f5cd7d8d1
commit
7097fd7040
|
@ -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);//专家姓名
|
||||
|
|
|
@ -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);//专家姓名
|
||||
|
|
Loading…
Reference in New Issue