Newer
Older
huludao / src / main / java / com / newfiber / api / pc / service / PatrolManageConfigService.java
package com.newfiber.api.pc.service;


import com.baomidou.mybatisplus.service.IService;
import com.github.pagehelper.PageInfo;
import com.newfiber.api.pc.model.River.PatrolManageConfig;
import com.newfiber.api.pc.model.River.PatrolManageConfigDto;

import java.util.List;

/**
 * patrolManageConfig 业务层
 *
 * @author luzhan
 * @date 2021-10-19
 */
public interface PatrolManageConfigService extends IService<PatrolManageConfig> {

    /**
    * patrolManageConfig 分页列表
    * @param searchStr
    * @param pageNo
    * @param pageSize
    * @return
    */
    PageInfo<PatrolManageConfig> listForPage(String patrolType,String searchStr, Integer pageNo, Integer pageSize);


    /**
     * 查询达标率
     * @param patrolType
     * @param searchStr
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageInfo<PatrolManageConfigDto> listPatrolPage(String patrolType, String searchStr, Integer pageNo, Integer pageSize);

    /**
     * 统计所有巡查的信息
     * @param patrolType
     * @param type
     * @return
     */
    List<PatrolManageConfigDto> listPatrolAll(String patrolType, Integer type);
}