查询实例总数
parent
26f1174134
commit
f1cba10900
|
@ -492,6 +492,7 @@ public class ModuleServiceImpl implements ModuleService {
|
||||||
List<Param> paramList = new ArrayList<>();
|
List<Param> paramList = new ArrayList<>();
|
||||||
Param param = new Param();
|
Param param = new Param();
|
||||||
param.setParam(MapTools.simpleMap("moduleId", model.getId()));
|
param.setParam(MapTools.simpleMap("moduleId", model.getId()));
|
||||||
|
paramList.add(param);
|
||||||
boolean adminRole = instanceService.checkAdminRole(userId);
|
boolean adminRole = instanceService.checkAdminRole(userId);
|
||||||
int count = instanceRepository.count(paramList, table, valueTable, userId, adminRole);
|
int count = instanceRepository.count(paramList, table, valueTable, userId, adminRole);
|
||||||
total+=count;
|
total+=count;
|
||||||
|
|
Loading…
Reference in New Issue