查询实例总数

develop
guyuliang 2024-08-24 19:33:45 +08:00
parent 26f1174134
commit f1cba10900
1 changed files with 1 additions and 0 deletions

View File

@ -492,6 +492,7 @@ public class ModuleServiceImpl implements ModuleService {
List<Param> 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;