package com.newfiber.api.pc.service; import com.baomidou.mybatisplus.service.IService; import com.github.pagehelper.PageInfo; import com.newfiber.api.core.bean.RespBodyObj; import com.newfiber.api.pc.model.River.*; import java.util.List; import java.util.Map; /** * patrolManageBase 业务层 * * @author luzhan * @date 2021-07-15 */ public interface PatrolManageBaseService extends IService<PatrolManageBase> { /** * patrolManageBase 分页列表 * @param patrolType * @param projectName * @param pageNo * @param pageSize * @return */ PageInfo<PatrolManageBaseDto> listForPage(String patrolType, String projectName, Integer pageNo, Integer pageSize); /** * 新的分页 * @param patrolType * @param areaCode * @param projectName * @param projectParentId * @param pageNo * @param pageSize * @return */ PageInfo<PatrolManageBase> selectBase(String patrolType, String areaCode, String projectName, String projectParentId, Integer pageNo, Integer pageSize); /** * 通过用户查询巡查列表 * @param patrolType * @param userNo * @return */ List<PatrolManageBase> listByUser(String patrolType, String userNo,String highest); /** * 查询是否是只有一个巡查点的用户 * @param patrolType * @param userNo * @param highest * @return */ Map<String, Object> getProject(String patrolType, String userNo, String highest); /** * 查询河道和负责人 * @param projectParentId * @param patrolType * @param projectName * @return */ List<PatrolManageProjectDto> selectProjectList(Integer projectParentId, Integer patrolType, String projectName); /** * 根据登录用户 * @param patrolType * @param userNo * @return */ PatrolManageUserDto getProjectByUserType(Integer patrolType, String userNo); /** * 查询主处理人 * @param projectId * @return */ PatrolManageBase getProjectId(Long projectId,Integer patrolType); RespBodyObj saveOrUpdateUser(PatrolManageBaseVo data); }