IEquipmentMaintainTaskService.java 1.4 KB
package com.skua.modules.equipment.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.equipment.dto.EquipmentMaintainTaskDTO;
import com.skua.modules.equipment.entity.EquipmentMaintainTask;
import com.skua.modules.equipment.vo.EquipmentMaintainTaskCalendarVO;
import com.skua.modules.equipment.vo.EquipmentMaintainTaskVO;

public interface IEquipmentMaintainTaskService extends IService<EquipmentMaintainTask> {
    /**
     * 执行任务回显
     *
     * @param id
     * @return
     */
    EquipmentMaintainTaskVO getTaskById(String id);

    EquipmentMaintainTask getById(String id);

    Page<EquipmentMaintainTaskVO> queryCustomPageList(Page<EquipmentMaintainTaskVO> pageList, EquipmentMaintainTaskDTO equipmentMaintainTask);

    void performance(EquipmentMaintainTaskVO equipmentMaintainTaskVO) throws Exception;
    /**
     * 	任务日历
     * @param equipmentMaintainTaskDTO
     * @return
     */
    Map<String,List<EquipmentMaintainTaskCalendarVO>> taskCalendar(EquipmentMaintainTaskDTO equipmentMaintainTaskDTO);
    /**
     * <pre>
     * 更新任务状态
     * </pre>
     * @param id
     * @return
     * @author Li Yuanyuan, 2023年9月18日 下午3:19:10
     * @Description: TODO(这里描述这个方法的需求变更情况)
     */
	boolean updateResultsEnforcement(String id);

}