| | |
| | | package org.jeecg.modules.eam.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.modules.eam.entity.EamEquipment; |
| | | import org.jeecg.modules.eam.entity.EamThirdMaintenanceWorkPlanSheet; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description: “三级保养工作计划单 |
| | |
| | | public interface IEamThirdMaintenanceWorkPlanSheetService extends IService<EamThirdMaintenanceWorkPlanSheet> { |
| | | |
| | | /** |
| | | * 通过设备编号,保养日期查询 |
| | | * @param equipmentCode,maintenanceDate |
| | | * @return |
| | | */ |
| | | EamThirdMaintenanceWorkPlanSheet getByEquipmentCodeAndMaintenanceDate(String equipmentCode, Date maintenanceDate); |
| | | |
| | | /** |
| | | * 新增 |
| | | * @param eamThirdMaintenanceWorkPlanSheet |
| | | * @return |
| | | */ |
| | | boolean add(EamThirdMaintenanceWorkPlanSheet eamThirdMaintenanceWorkPlanSheet); |
| | | |
| | | /** |
| | | * existsByEquipmentAndDate |
| | | * @param equipmentCode |
| | | * @param maintenanceDate |
| | | * @return |
| | | */ |
| | | boolean existsByEquipmentAndDate(String equipmentCode, Date maintenanceDate); |
| | | |
| | | /** |
| | | * 处理保养日期变更(增删改查) |
| | | */ |
| | | void processMaintenanceDateChange(EamEquipment equipment, Date oldDate, Date newDate); |
| | | |
| | | /** |
| | | * 创建保养计划 |
| | | */ |
| | | void createMaintenancePlan(EamEquipment equipment, Date maintenanceDate); |
| | | } |