添加日志

develop
guyuliang 2024-08-24 19:38:05 +08:00
parent 0652b9af13
commit dc9e8b02e2
1 changed files with 2 additions and 0 deletions

View File

@ -476,6 +476,7 @@ public class ModuleServiceImpl implements ModuleService {
@Override @Override
public void run() { public void run() {
try { try {
log.info("rootGroup:{}",JSON.toJSONString(rootGroup));
//获取当前ModuleGroup下所有的modle //获取当前ModuleGroup下所有的modle
Pager pager = new Pager(); Pager pager = new Pager();
GeneralResult<GridBean<CiModule>> modelList = getModelList(pager); GeneralResult<GridBean<CiModule>> modelList = getModelList(pager);
@ -496,6 +497,7 @@ public class ModuleServiceImpl implements ModuleService {
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);
log.info("count:{}",count);
total+=count; total+=count;
} }
resultMap.put(rootGroup.getCode(), total); resultMap.put(rootGroup.getCode(), total);