| | |
| | | package org.jeecg.modules.eam.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.modules.eam.entity.EamInspectionOrder; |
| | | import org.jeecg.modules.eam.request.EamInspectionOrderQuery; |
| | | import org.jeecg.modules.eam.request.EamInspectionOrderRequest; |
| | | import org.jeecg.modules.eam.vo.InspectionVo; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @Description: 点检工单 |
| | |
| | | */ |
| | | public interface IEamInspectionOrderService extends IService<EamInspectionOrder> { |
| | | |
| | | /** |
| | | * 新增点检工单 |
| | | * @param eamInspectionOrderRequest |
| | | * @return |
| | | */ |
| | | boolean addInspectionOrder(EamInspectionOrderRequest eamInspectionOrderRequest); |
| | | |
| | | /** |
| | | * 编辑点检工单 |
| | | * @param eamInspectionOrderRequest |
| | | * @return |
| | | */ |
| | | boolean editInspectionOrder(EamInspectionOrderRequest eamInspectionOrderRequest); |
| | | |
| | | /** |
| | | * 领取点检工单 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | boolean takeInspectionOrder(String id); |
| | | |
| | | /** |
| | | * 作废点检工单 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | boolean cancelInspectionOrder(String id); |
| | | |
| | | /** |
| | | * 批量作废与领取 |
| | | * @param ids |
| | | * @param type |
| | | * @return |
| | | */ |
| | | Result<?> batchCancelOrTakeInspectionOrder(String ids, String type); |
| | | |
| | | /** |
| | | * 查询点检工单基本信息 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | Result<?> selectVoById(String id); |
| | | |
| | | /** |
| | | * 点检流程 |
| | | * @param eamInspectionOrderRequest |
| | | * @return |
| | | */ |
| | | EamInspectionOrder inspectionProcess(EamInspectionOrderRequest eamInspectionOrderRequest); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param page |
| | | * @param query |
| | | * @return |
| | | */ |
| | | IPage<EamInspectionOrder> queryPageList(Page<EamInspectionOrder> page, EamInspectionOrderQuery query); |
| | | |
| | | /** |
| | | * 获取未点检的工单 |
| | | * @param expiredDate 过期日期 |
| | | * @return |
| | | */ |
| | | List<EamInspectionOrder> selectUnCompleteOrder(String expiredDate); |
| | | |
| | | /** |
| | | * 点检报表 new |
| | | */ |
| | | List<InspectionVo> findInspectionResult(String equipmentId, String itemDemand,String yearMonth); |
| | | |
| | | List<InspectionVo> findInspectionUser(String equipmentId,String yearMonth); |
| | | |
| | | List<Map<String,Object>> findInspectionStandard(String equipmentId); |
| | | } |