From 5c005df374344284df91f26e483bf9ea583fdaec Mon Sep 17 00:00:00 2001 From: yujh Date: Tue, 25 Mar 2025 14:28:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=93=E5=BC=80=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=AF=A6=E6=83=85taskId=E4=B8=BA=E7=A9=BA=E6=A3=80?= =?UTF-8?q?=E9=AA=8C=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/coe/pal/publisher/PublisherController.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/PublisherController.java b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/PublisherController.java index 1bbe0901..b657c880 100644 --- a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/PublisherController.java +++ b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/PublisherController.java @@ -452,7 +452,10 @@ public class PublisherController { //判断taskId是否为空,空的话则查库更新,应对部门视图不穿taskId的场景 if(UtilString.isEmpty(taskId)){ PublishListHistory pHistory = new PublishListHistory(); - taskId = pHistory.getLastPublishTaskIdByModelId(uuid).trim(); + String result = pHistory.getLastPublishTaskIdByModelId(uuid); + if(UtilString.isNotEmpty(result)){ + taskId = result.trim(); + } } return PALRepositoryQueryAPIManager.getInstance().getPublishPortalHtml(me, uuid, taskId, false); }