package com.newfiber.api.pc.service; import com.baomidou.mybatisplus.service.IService; import com.github.pagehelper.PageInfo; import com.newfiber.api.pc.model.River.PatrolManageRecord; import com.newfiber.api.pc.model.River.PatrolManageStatistics; import com.newfiber.api.pc.model.River.PatrolManageUser; import com.newfiber.api.pc.model.River.PatrolManageUserData; import java.util.List; /** * patrolManageStatistics 业务层 * * @author luzhan * @date 2021-11-18 */ public interface PatrolManageStatisticsService extends IService<PatrolManageStatistics> { /** * patrolManageStatistics 分页列表 * @param searchStr * @param pageNo * @param pageSize * @return */ PageInfo<PatrolManageStatistics> listForPage(String searchStr, Integer pageNo, Integer pageSize); /** * 添加统计数据 * @param patrolManageRecord */ void insertData(PatrolManageRecord patrolManageRecord); /** * 获取统计数据 * @param userName * @param startTime * @param endTime * @return */ PageInfo<PatrolManageUser> getList(String userName, Integer patrolType, String startTime, String endTime, Integer pageNo, Integer pageSize); List<PatrolManageUserData> getDetail(String userNo, Integer patrolType, Long bindNo); }