From e802bbc2f903d0044411394b817413d5fe947c0b Mon Sep 17 00:00:00 2001 From: caihaohan Date: Wed, 22 Nov 2023 16:52:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AB=8B=E9=A1=B9=E5=8F=98=E6=9B=B4?= =?UTF-8?q?=E8=8A=82=E7=82=B96=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/ProcessEsInitChangeServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laws-modules/src/main/java/com/jero/modules/activiti/process/esInitChange/service/impl/ProcessEsInitChangeServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/activiti/process/esInitChange/service/impl/ProcessEsInitChangeServiceImpl.java index e12a85b7..e45405a2 100644 --- a/laws-modules/src/main/java/com/jero/modules/activiti/process/esInitChange/service/impl/ProcessEsInitChangeServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/activiti/process/esInitChange/service/impl/ProcessEsInitChangeServiceImpl.java @@ -107,7 +107,7 @@ public class ProcessEsInitChangeServiceImpl extends ServiceImpl flowUserInfoVO = initChangeData.getFlowUserInfoVO(); HashMap map = new HashMap<>(flowUserInfoVO); List initChangeList = initChangeData.getDataList(); - if (!initChangeList.isEmpty()) { + if (initChangeList != null && !initChangeList.isEmpty()) { ProcessEsInitChange initChange = initChangeList.get(0); // 添加非列表类型的变量 actFlowCommonService.putIfNotNull(map, "applicationCategory", initChange.getApplicationCategory());