package com.njcn.process.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.jeffreyning.mybatisplus.service.IMppService;
import com.njcn.prepare.harmonic.pojo.dto.OverLimitFlagDTO;
import com.njcn.process.pojo.param.RStatProblemAndWorkOrderParam;
import com.njcn.process.pojo.po.RStatDistributionProblemPO;
import com.njcn.process.pojo.vo.IssueesAndOrderVO;
import com.njcn.process.pojo.vo.OrderCountVO;
import com.njcn.process.pojo.vo.RStatDistributionProblemVO;
import com.njcn.process.pojo.vo.RStatWorkOrderDetailVO;

import java.util.List;

/**
 * 
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2023/2/1  14:17【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
public interface RStatDistributionProblemService extends IMppService<RStatDistributionProblemPO> {

        /** 
        * @Description: 查询问题及工单（当前部门下）
        * @Param: [orgNo] 
        * @return: com.njcn.process.pojo.vo.IssueesAndOrderVO 
        * @Author: clam
        * @Date: 2023/2/2 
        */ 
        IssueesAndOrderVO queryIssuesAndOrder(String orgNo);
    /** 
    * @Description: 查询工单及工单总数及完成工单数量（当前部门下） 
    * @Param: [orgNo] 
    * @return: com.njcn.process.pojo.vo.OrderCountVO 
    * @Author: clam
    * @Date: 2023/2/2 
    */ 
    OrderCountVO queryOrderCount(String orgNo);
    /** 
    * @Description: 创建问题接口
    * @Param: [overLimitFlagDTOList] 
    * @return: java.lang.Boolean 
    * @Author: clam
    * @Date: 2023/2/15 
    */ 
    Boolean createProblem(List<OverLimitFlagDTO> overLimitFlagDTOList);
    /** 
    * @Description: 查询问题接口
    * @Param: [rStatProblemAndWorkOrderParam] 
    * @return: com.baomidou.mybatisplus.core.metadata.IPage<com.njcn.process.pojo.vo.RStatDistributionProblemVO> 
    * @Author: clam
    * @Date: 2023/2/16 
    */ 
    IPage<RStatDistributionProblemVO> queryProblem(RStatProblemAndWorkOrderParam rStatProblemAndWorkOrderParam);
    /** 
    * @Description: 审核处理 
    * @Param: [rStatDistributionProblemVO] 
    * @return: java.lang.Boolean 
    * @Author: clam
    * @Date: 2023/2/17 
    */ 
    Boolean checkProblem(RStatDistributionProblemVO rStatDistributionProblemVO);
    /** 
    * @Description: queryWorkOrder
    * @Param: [rStatProblemAndWorkOrderParam] 
    * @return: com.baomidou.mybatisplus.core.metadata.IPage<com.njcn.process.pojo.vo.RStatWorkOrderDetailVO> 
    * @Author: clam
    * @Date: 2023/2/17 
    */ 
    IPage<RStatWorkOrderDetailVO> queryWorkOrder(RStatProblemAndWorkOrderParam rStatProblemAndWorkOrderParam);
    /** 
    * @Description: 更新工单进度
    * @Param: [rStatWorkOrderDetailVO] 
    * @return: java.lang.Boolean 
    * @Author: clam
    * @Date: 2023/2/17 
    */ 
    Boolean updateWorkOrderStatus(RStatWorkOrderDetailVO rStatWorkOrderDetailVO);
}
