package cn.stylefeng.guns.modular.em.equipmentMaintainPlan.service;
|
|
import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
|
import cn.stylefeng.guns.modular.em.equipmentMaintainPlan.entity.EquipmentMaintainPlan;
|
import cn.stylefeng.guns.modular.em.equipmentMaintainPlan.model.params.EquipmentMaintainPlanParam;
|
import cn.stylefeng.guns.modular.em.equipmentMaintainPlan.model.result.EquipmentMaintainPlanResult;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 保养计划 服务类
|
* </p>
|
*
|
* @author ruimin
|
* @since 2023-02-20
|
*/
|
public interface EquipmentMaintainPlanService extends IService<EquipmentMaintainPlan> {
|
|
/**
|
* 新增
|
*
|
* @author ruimin
|
* @Date 2023-02-20
|
*/
|
void add(EquipmentMaintainPlanParam param);
|
|
/**
|
* 删除
|
*
|
* @author ruimin
|
* @Date 2023-02-20
|
*/
|
void delete(EquipmentMaintainPlanParam param);
|
|
/**
|
* 更新
|
*
|
* @author ruimin
|
* @Date 2023-02-20
|
*/
|
void update(EquipmentMaintainPlanParam param);
|
|
/**
|
* 查询单条数据,Specification模式
|
*
|
* @author ruimin
|
* @Date 2023-02-20
|
*/
|
EquipmentMaintainPlanResult findBySpec(EquipmentMaintainPlanParam param);
|
|
/**
|
* 查询列表,Specification模式
|
*
|
* @author ruimin
|
* @Date 2023-02-20
|
*/
|
List<EquipmentMaintainPlanResult> findListBySpec(EquipmentMaintainPlanParam param);
|
|
/**
|
* 查询分页数据,Specification模式
|
*
|
* @author ruimin
|
* @Date 2023-02-20
|
*/
|
LayuiPageInfo findPageBySpec(EquipmentMaintainPlanParam param);
|
|
String planNumberGenerate(EquipmentMaintainPlanParam equipmentMaintainPlanParam);
|
}
|