|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.zc.business.service.impl; |
|
|
|
|
|
|
|
import com.ruoyi.common.core.redis.RedisCache; |
|
|
|
import com.zc.business.mapper.DcDeviceMapper; |
|
|
|
import com.zc.business.service.ModuleCallService; |
|
|
|
import org.springframework.scheduling.annotation.Scheduled; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@ -24,6 +25,8 @@ public class ModuleCallServiceImpl implements ModuleCallService { |
|
|
|
|
|
|
|
@Resource |
|
|
|
private RedisCache redisCache; |
|
|
|
@Resource |
|
|
|
private DcDeviceMapper dcDeviceMapper; |
|
|
|
|
|
|
|
/** |
|
|
|
* 查询模块调用统计 |
|
|
@ -67,6 +70,15 @@ public class ModuleCallServiceImpl implements ModuleCallService { |
|
|
|
return list; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 基础数据统计 |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public int selectBasicData() { |
|
|
|
return dcDeviceMapper.selectDeviceNumber(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 计算模块调用统计 |
|
|
|
*/ |
|
|
|