cl
2024-01-22 314bc7a1733856bd82c9d99bdfa27b34a4a762c3
提交 | 用户 | 时间
71e81e 1 package cn.stylefeng.guns.modular.em.equipmentMaintainPlan.service;
2
3 import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
4 import cn.stylefeng.guns.modular.em.equipmentMaintainPlan.entity.EquipmentMaintainPlan;
5 import cn.stylefeng.guns.modular.em.equipmentMaintainPlan.model.params.EquipmentMaintainPlanParam;
6 import cn.stylefeng.guns.modular.em.equipmentMaintainPlan.model.result.EquipmentMaintainPlanResult;
7 import com.baomidou.mybatisplus.extension.service.IService;
8
9 import java.util.List;
10
11 /**
12  * <p>
13  * 保养计划 服务类
14  * </p>
15  *
16  * @author ruimin
17  * @since 2023-02-20
18  */
19 public interface EquipmentMaintainPlanService extends IService<EquipmentMaintainPlan> {
20
21     /**
22      * 新增
23      *
24      * @author ruimin
25      * @Date 2023-02-20
26      */
27     void add(EquipmentMaintainPlanParam param);
28
29     /**
30      * 删除
31      *
32      * @author ruimin
33      * @Date 2023-02-20
34      */
35     void delete(EquipmentMaintainPlanParam param);
36
37     /**
38      * 更新
39      *
40      * @author ruimin
41      * @Date 2023-02-20
42      */
43     void update(EquipmentMaintainPlanParam param);
44
45     /**
46      * 查询单条数据,Specification模式
47      *
48      * @author ruimin
49      * @Date 2023-02-20
50      */
51     EquipmentMaintainPlanResult findBySpec(EquipmentMaintainPlanParam param);
52
53     /**
54      * 查询列表,Specification模式
55      *
56      * @author ruimin
57      * @Date 2023-02-20
58      */
59     List<EquipmentMaintainPlanResult> findListBySpec(EquipmentMaintainPlanParam param);
60
61     /**
62      * 查询分页数据,Specification模式
63      *
64      * @author ruimin
65      * @Date 2023-02-20
66      */
67      LayuiPageInfo findPageBySpec(EquipmentMaintainPlanParam param);
68
69     String planNumberGenerate(EquipmentMaintainPlanParam equipmentMaintainPlanParam);
70 }