4 天以前 ed0b34e7377749befc33465318285bcc52128770
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
67
68
69
package cn.iocoder.yudao.module.mes.service.dv.meteringcheck;
 
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.mes.controller.admin.dv.meteringcheck.vo.MesDvMeteringCheckPageReqVO;
import cn.iocoder.yudao.module.mes.controller.admin.dv.meteringcheck.vo.MesDvMeteringCheckSaveReqVO;
import cn.iocoder.yudao.module.mes.dal.dataobject.dv.meteringcheck.MesDvMeteringCheckDO;
import jakarta.validation.Valid;
 
/**
 * MES 计量检测记录 Service 接口
 *
 * @author 超级管理员
 */
public interface MesDvMeteringCheckService {
 
    /**
     * 创建计量检测记录
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createMeteringCheck(@Valid MesDvMeteringCheckSaveReqVO createReqVO);
 
    /**
     * 更新计量检测记录
     *
     * @param updateReqVO 更新信息
     */
    void updateMeteringCheck(@Valid MesDvMeteringCheckSaveReqVO updateReqVO);
 
    /**
     * 删除计量检测记录
     *
     * @param id 编号
     */
    void deleteMeteringCheck(Long id);
 
    /**
     * 获得计量检测记录
     *
     * @param id 编号
     * @return 计量检测记录
     */
    MesDvMeteringCheckDO getMeteringCheck(Long id);
 
    /**
     * 获得计量检测记录分页
     *
     * @param pageReqVO 分页查询
     * @return 计量检测记录分页
     */
    PageResult<MesDvMeteringCheckDO> getMeteringCheckPage(MesDvMeteringCheckPageReqVO pageReqVO);
 
    /**
     * 获得指定计量器具下的检测记录数量
     *
     * @param meteringId 计量器具编号
     * @return 检测记录数量
     */
    Long getMeteringCheckCountByMeteringId(Long meteringId);
 
    /**
     * 校验计量检测记录存在
     *
     * @param id 编号
     */
    void validateMeteringCheckExists(Long id);
 
}