| | |
| | | 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.EquipmentInspectionStatistics; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description: 点检工单 |
| | |
| | | * @param eamInspectionOrderRequest |
| | | * @return |
| | | */ |
| | | Result<?> inspectionProcess(EamInspectionOrderRequest eamInspectionOrderRequest); |
| | | 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); |
| | | |
| | | /** |
| | | * 点检统计 |
| | | * @param productionId |
| | | * @param firstOfMonth |
| | | * @param today |
| | | * @return |
| | | */ |
| | | List<EquipmentInspectionStatistics> equipmentInspectionStatistics(String productionId, LocalDate firstOfMonth, LocalDate today); |
| | | |
| | | /** 查询所有未领取(待点检状态)的工单(关联查询设备所属产线) */ |
| | | List<EamInspectionOrder> selectUnReceivedInspectionOrder(); |
| | | } |