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;