Lius
2025-04-10 17fc602f57c685bac6b426d112252adb49baec44
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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: 点检工单
 * @Author: jeecg-boot
 * @Date:   2025-04-02
 * @Version: V1.0
 */
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);
 
}