From f1cba109004d28221f0046ff02dc7686ea65240b Mon Sep 17 00:00:00 2001 From: guyuliang Date: Sat, 24 Aug 2024 19:33:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=AE=9E=E4=BE=8B=E6=80=BB?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/bocloud/ams/service/module/impl/ModuleServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bocloud.ams.service/src/main/java/com/bocloud/ams/service/module/impl/ModuleServiceImpl.java b/bocloud.ams.service/src/main/java/com/bocloud/ams/service/module/impl/ModuleServiceImpl.java index ec073b8..ee5d310 100644 --- a/bocloud.ams.service/src/main/java/com/bocloud/ams/service/module/impl/ModuleServiceImpl.java +++ b/bocloud.ams.service/src/main/java/com/bocloud/ams/service/module/impl/ModuleServiceImpl.java @@ -492,6 +492,7 @@ public class ModuleServiceImpl implements ModuleService { List paramList = new ArrayList<>(); Param param = new Param(); param.setParam(MapTools.simpleMap("moduleId", model.getId())); + paramList.add(param); boolean adminRole = instanceService.checkAdminRole(userId); int count = instanceRepository.count(paramList, table, valueTable, userId, adminRole); total+=count;