广丰卷烟厂数采质量分析系统
zhuguifei
2026-03-20 3471290659516cf21db3211a9053daff5f283e03
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
package org.dromara.qa.md.service;
 
import org.dromara.qa.md.domain.vo.MdInstrumentVo;
import org.dromara.qa.md.domain.bo.MdInstrumentBo;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.core.page.PageQuery;
 
import java.util.Collection;
import java.util.List;
 
/**
 * 测量仪器Service接口
 *
 * @author zhuguifei
 * @date 2026-03-18
 */
public interface IMdInstrumentService {
 
    /**
     * 查询测量仪器
     *
     * @param id 主键
     * @return 测量仪器
     */
    MdInstrumentVo queryById(String id);
 
    /**
     * 分页查询测量仪器列表
     *
     * @param bo        查询条件
     * @param pageQuery 分页参数
     * @return 测量仪器分页列表
     */
    TableDataInfo<MdInstrumentVo> queryPageList(MdInstrumentBo bo, PageQuery pageQuery);
 
    /**
     * 查询符合条件的测量仪器列表
     *
     * @param bo 查询条件
     * @return 测量仪器列表
     */
    List<MdInstrumentVo> queryList(MdInstrumentBo bo);
 
    /**
     * 新增测量仪器
     *
     * @param bo 测量仪器
     * @return 是否新增成功
     */
    Boolean insertByBo(MdInstrumentBo bo);
 
    /**
     * 修改测量仪器
     *
     * @param bo 测量仪器
     * @return 是否修改成功
     */
    Boolean updateByBo(MdInstrumentBo bo);
 
    /**
     * 校验并批量删除测量仪器信息
     *
     * @param ids     待删除的主键集合
     * @param isValid 是否进行有效性校验
     * @return 是否删除成功
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}