| | |
| | | package com.lf.server.mapper.sys; |
| | | |
| | | import com.lf.server.entity.ctrl.CountEntity; |
| | | import com.lf.server.entity.sys.ReportEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | |
| | | * 查询记录数 |
| | | * |
| | | * @param name 名称 |
| | | * @param code 编码 |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(String name); |
| | | public Integer selectCount(String name, String code); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param name 名称 |
| | | * @param code 编码 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<ReportEntity> selectByPage(String name, Integer limit, Integer offset); |
| | | public List<ReportEntity> selectByPage(String name, String code, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | |
| | | * @return |
| | | */ |
| | | public Integer updates(List<ReportEntity> list); |
| | | |
| | | /** |
| | | * 数据量统计 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<CountEntity> countSizes(); |
| | | |
| | | /** |
| | | * 服务调用量统计 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<CountEntity> countServices(); |
| | | |
| | | /** |
| | | * 用户流量统计 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<CountEntity> countOperates(); |
| | | } |