| | |
| | | package org.jeecg.modules.eam.service; |
| | | |
| | | 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.EamInspectionOrderRequest; |
| | | |
| | | /** |
| | | * @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 |
| | | */ |
| | | Result<?> inspectionProcess(EamInspectionOrderRequest eamInspectionOrderRequest); |
| | | |
| | | } |