Newer
Older
huludao / src / main / java / com / newfiber / api / pc / service / PatrolManageProcessService.java
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.PatrolManageProcess;
import com.newfiber.api.pc.model.River.PatrolManageProcessParam;
import com.newfiber.api.pc.model.River.ProblemDto;

/**
 * patrolManageProcess 业务层
 *
 * @author luzhan
 * @date 2021-07-15
 */
public interface PatrolManageProcessService extends IService<PatrolManageProcess> {

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

    /**
     * 指派
     * @param process
     * @return
     */
    RespBodyObj appoint(PatrolManageProcessParam process);

    /**
     * 撤回
     * @param process
     * @return
     */
    RespBodyObj recall(PatrolManageProcessParam process);

    /**
     * 退回
     * @param process
     * @return
     */
    RespBodyObj refuse(PatrolManageProcessParam process);

    /**
     * 审核
     * @param process
     * @return
     */
    RespBodyObj check(PatrolManageProcessParam process);

    /**
     * 催派
     * @param process
     * @return
     */
    RespBodyObj urge(PatrolManageProcessParam process);

    /**
     * 废弃
     * @param process
     * @return
     */
    RespBodyObj abandon(PatrolManageProcessParam process);

    /**
     * 一张图里的指派操作
     * @param dto
     * @return
     */
    RespBodyObj onemapAppoint(ProblemDto dto);

    /**
     * 批转
     * @param data
     * @return
     */
    void transfer(PatrolManageProcessParam data);

    /**
     * 回退
     * @param data
     * @return
     */
    RespBodyObj backoff(PatrolManageProcessParam data);

    /**
     * 延期
     * @param data
     */
    RespBodyObj delay(PatrolManageProcessParam data);

    /**
     * 挂账
     * @param data
     */
    RespBodyObj charge(PatrolManageProcessParam data);

}