123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- package com.ruoyi.system.mapper;
- import java.util.List;
- import java.util.Map;
- import com.ruoyi.system.domain.SysReport;
- import com.ruoyi.system.domain.SysReportData;
- import org.apache.ibatis.annotations.Param;
- /**
- * reportMapper接口
- *
- * @author limeng
- * @date 2023-08-09
- */
- public interface SysReportMapper
- {
- /**
- * 查询report
- *
- * @param id report主键
- * @return report
- */
- public SysReport selectSysReportById(String id);
- /**
- * 查询report列表
- *
- * @param sysReport report
- * @return report集合
- */
- public List<SysReport> selectSysReportList(SysReport sysReport);
- /**
- * 查询report列表
- *
- * @return report集合
- */
- public SysReportData selectSysReportData();
- /**
- * 新增report
- *
- * @param sysReport report
- * @return 结果
- */
- public int insertSysReport(SysReport sysReport);
- /**
- * 新增report
- *
- * @param sysReportData report
- * @return 结果
- */
- public int insertSysReportData(SysReportData sysReportData);
- /**
- * 修改report
- *
- * @param sysReport report
- * @return 结果
- */
- public int updateSysReport(SysReport sysReport);
- /**
- * 修改report
- *
- * @param sysReportData report
- * @return 结果
- */
- public int updateSysReportData(SysReportData sysReportData);
- /**
- * 删除report
- *
- * @param id report主键
- * @return 结果
- */
- public int deleteSysReportById(String id);
- /**
- * 批量删除report
- *
- * @param ids 需要删除的数据主键集合
- * @return 结果
- */
- public int deleteSysReportByIds(String[] ids);
- /**
- * 查询领导账号数
- */
- public Map selectLeaderAccountCount();
- /**
- * 查询注册账号数
- */
- public Map selectRegisterAccountCount();
- /**
- * 查询活跃账号数
- */
- public Map selectActiveAccountCount();
- /**
- * 查询各类传感器数
- */
- public Map selectDeviceCountGroupByType();
- /**
- * 查询传感器上报数据数
- */
- public Map selectDeviceDataCount();
- /**
- * 查询平台操作日志数
- */
- public Map selectOperateCount();
- public List<String> selectTableName();
- /**
- * 查询各区县各类传感器数
- */
- public List<Map<String,Object>> selectDeviceCountGroupByTypeAndQx();
- /**
- * 查询系统使用情况注册用户、活跃用户、活跃率
- */
- public Map<String,Object> selectUserActiveAndRate(@Param("timeArr") String timeArr);
- }
|