查询实例总数
parent
f1cba10900
commit
0652b9af13
|
@ -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()));
|
||||||
|
param.setSign(Sign.EQ);
|
||||||
paramList.add(param);
|
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);
|
||||||
|
|
Loading…
Reference in New Issue