From 7097fd7040b9e4e2ea0c20414e055b602afe5c07 Mon Sep 17 00:00:00 2001 From: yuxueliang0813 <407010292@qq.com> Date: Fri, 20 Dec 2024 18:23:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E4=B8=AD=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=B8=93=E5=AE=B6=E5=BA=93=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/java/shkd/bamp/base/task/DobeDWpersonTask.java | 2 +- main/java/shkd/bamp/base/task/DobeDWpersonUpdateTask.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/java/shkd/bamp/base/task/DobeDWpersonTask.java b/main/java/shkd/bamp/base/task/DobeDWpersonTask.java index 2fd7110..2e8f161 100644 --- a/main/java/shkd/bamp/base/task/DobeDWpersonTask.java +++ b/main/java/shkd/bamp/base/task/DobeDWpersonTask.java @@ -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);//专家姓名 diff --git a/main/java/shkd/bamp/base/task/DobeDWpersonUpdateTask.java b/main/java/shkd/bamp/base/task/DobeDWpersonUpdateTask.java index 2671640..ab6b0bc 100644 --- a/main/java/shkd/bamp/base/task/DobeDWpersonUpdateTask.java +++ b/main/java/shkd/bamp/base/task/DobeDWpersonUpdateTask.java @@ -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);//专家姓名