/**
 * Copyright 2019 DH
 * All right reserved.
 * 项目名称: 大恒泰山系统
 * 创建日期:2022/8/22
 */
package org.springblade.modules.business.check.order.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.core.mp.base.BaseService;
import org.springblade.modules.business.check.order.dto.CheckOrderInfoDTO;
import org.springblade.modules.business.check.order.entity.CheckOrderInfoEntity;
import org.springblade.modules.business.check.order.vo.CheckOrderCountVO;
import org.springblade.modules.business.check.order.vo.CheckOrderInfoVO;
import org.springblade.modules.business.check.process.entity.OrderProcessInfoEntity;
import org.springblade.modules.business.project.base.entity.ProjectInfoEntity;
import org.springblade.modules.business.rtu.base.entity.RtuInfoEntity;
import org.springblade.modules.business.rtumanage.vo.RtuStatusVO;

import java.util.List;

/***
 * Date:2022/8/22
 * Title:文件所属模块（必须填写）
 * Description：对本文件的详细描述，原则上不能少于30字
 * @author dylan
 * @version 1.0
 * Remark：认为有必要的其他信息
 */
public interface IRtuCheckOrderService extends BaseService<CheckOrderInfoEntity> {
	/**
	 * 自定义分页
	 * @param page
	 * @param checkOrderInfoDTO
	 * @return
	 */
	IPage<CheckOrderInfoVO> selectPage(IPage<CheckOrderInfoVO> page, CheckOrderInfoDTO checkOrderInfoDTO);

	Long unconfirmOrderCount(CheckOrderInfoDTO checkOrderInfoDTO);

	List<CheckOrderInfoVO> unconfirmOrderList(CheckOrderInfoDTO checkOrderInfoDTO);


	/**
	 * 更新工单状态
	 * @param orderInfoEntity
	 * @return
	 */
	boolean updateOrderStatus(CheckOrderInfoEntity orderInfoEntity);

	List<CheckOrderCountVO> orderReportCount( CheckOrderInfoDTO checkOrderInfoDTO);

	Long orderCount(CheckOrderInfoDTO checkOrderInfoDTO);

	Long unCloseOrderCount(CheckOrderInfoDTO checkOrderInfoDTO);

}
