【7.1.6】【statistics】整理

pull/26/MERGE
fengshuonan 2022-02-11 09:35:24 +08:00
parent 236b6ddda3
commit 3b8075093d
2 changed files with 11 additions and 0 deletions

View File

@ -21,6 +21,7 @@ import cn.stylefeng.roses.kernel.system.modular.home.entity.InterfaceStatistics;
import cn.stylefeng.roses.kernel.system.modular.home.mapper.InterfaceStatisticsMapper;
import cn.stylefeng.roses.kernel.system.modular.home.service.HomePageService;
import cn.stylefeng.roses.kernel.system.modular.statistic.entity.SysStatisticsCount;
import cn.stylefeng.roses.kernel.system.modular.statistic.service.SysStatisticsCountService;
import cn.stylefeng.roses.kernel.system.modular.user.entity.SysUserOrg;
import cn.stylefeng.roses.kernel.system.modular.user.service.SysUserOrgService;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
@ -62,6 +63,9 @@ public class HomePageServiceImpl extends ServiceImpl<InterfaceStatisticsMapper,
@Resource(name = "requestCountCacheApi")
private CacheOperatorApi<Map<Long, Integer>> requestCountCacheApi;
@Resource
private SysStatisticsCountService sysStatisticsCountService;
@Override
public List<LogRecordDTO> getDynamicList(LogManagerRequest logManagerRequest) {
List<LogRecordDTO> logRecordDTOS = logManagerApi.findList(logManagerRequest);
@ -158,6 +162,9 @@ public class HomePageServiceImpl extends ServiceImpl<InterfaceStatisticsMapper,
// todo
ArrayList<SysStatisticsCount> sysStatisticsCounts = new ArrayList<>();
// todo
this.sysStatisticsCountService.saveBatch(sysStatisticsCounts);
}
}

View File

@ -9,6 +9,10 @@ import java.util.Map;
/**
*
*
* keyIDvalueMap<Long, Integer>
*
* mapkeystatUrlIdvalue
*
* @author xixiaowei
* @date 2022/2/9 16:36
*/