From 2cb4ff7e6ee7a9037d2264a834ea9228377f8154 Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Thu, 11 Dec 2025 10:43:22 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=97=B6=E8=87=AA=E5=8A=A8=E5=8C=96=E7=BB=84?= =?UTF-8?q?=E5=90=88=E5=B7=A5=E5=85=B7=E4=BF=9D=E5=AD=98=E6=9D=83=E9=99=90?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1573811277758467]导入流程时自动化组合工具保存权限报错 http://192.168.0.96:8090/demo/rdm.html#/bug-detail/939050947543040/939050947543057/1573811277758467 --- .../autoexec/service/AutoexecCombopServiceImpl.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/neatlogic/module/autoexec/service/AutoexecCombopServiceImpl.java b/src/main/java/neatlogic/module/autoexec/service/AutoexecCombopServiceImpl.java index 230dd106..281f7356 100644 --- a/src/main/java/neatlogic/module/autoexec/service/AutoexecCombopServiceImpl.java +++ b/src/main/java/neatlogic/module/autoexec/service/AutoexecCombopServiceImpl.java @@ -1348,7 +1348,9 @@ public class AutoexecCombopServiceImpl implements AutoexecCombopService, IAutoex autoexecCombopAuthorityVo.setAction(CombopAuthorityAction.VIEW.getValue()); autoexecCombopAuthorityList.add(autoexecCombopAuthorityVo); } - autoexecCombopMapper.insertAutoexecCombopAuthorityVoList(autoexecCombopAuthorityList); + if (CollectionUtils.isNotEmpty(autoexecCombopAuthorityList)) { + autoexecCombopMapper.insertAutoexecCombopAuthorityVoList(autoexecCombopAuthorityList); + } } List editAuthorityList = autoexecCombopVo.getEditAuthorityList(); if (CollectionUtils.isNotEmpty(editAuthorityList)) { @@ -1362,7 +1364,9 @@ public class AutoexecCombopServiceImpl implements AutoexecCombopService, IAutoex autoexecCombopAuthorityVo.setAction(CombopAuthorityAction.EDIT.getValue()); autoexecCombopAuthorityList.add(autoexecCombopAuthorityVo); } - autoexecCombopMapper.insertAutoexecCombopAuthorityVoList(autoexecCombopAuthorityList); + if (CollectionUtils.isNotEmpty(autoexecCombopAuthorityList)) { + autoexecCombopMapper.insertAutoexecCombopAuthorityVoList(autoexecCombopAuthorityList); + } } List executeAuthorityList = autoexecCombopVo.getExecuteAuthorityList(); if (CollectionUtils.isNotEmpty(executeAuthorityList)) { @@ -1376,7 +1380,9 @@ public class AutoexecCombopServiceImpl implements AutoexecCombopService, IAutoex autoexecCombopAuthorityVo.setAction(CombopAuthorityAction.EXECUTE.getValue()); autoexecCombopAuthorityList.add(autoexecCombopAuthorityVo); } - autoexecCombopMapper.insertAutoexecCombopAuthorityVoList(autoexecCombopAuthorityList); + if (CollectionUtils.isNotEmpty(autoexecCombopAuthorityList)) { + autoexecCombopMapper.insertAutoexecCombopAuthorityVoList(autoexecCombopAuthorityList); + } } } -- Gitee