车间能级提升-智能设备管理系统
zhuguifei
2025-03-14 3e0f519c396ac8a72e7bbd426e4f38fa6cc403dc
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 org.dromara.eims.service;
 
import org.dromara.common.core.domain.R;
import org.dromara.eims.domain.bo.EimsMaintStBo;
import org.dromara.eims.domain.vo.EimsMaintStVo;
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 2025-03-12
 */
public interface IEimsMaintStService {
 
    /**
     * 查询保养工单汇总
     *
     * @param id 主键
     * @return 保养工单汇总
     */
    EimsMaintStVo queryById(Long id);
 
    /**
     * 分页查询保养工单汇总列表
     *
     * @param bo        查询条件
     * @param pageQuery 分页参数
     * @return 保养工单汇总分页列表
     */
    TableDataInfo<EimsMaintStVo> queryPageList(EimsMaintStBo bo, PageQuery pageQuery);
 
    /**
     * 查询符合条件的保养工单汇总列表
     *
     * @param bo 查询条件
     * @return 保养工单汇总列表
     */
    List<EimsMaintStVo> queryList(EimsMaintStBo bo);
 
    /**
     * 新增保养工单汇总
     *
     * @param bo 保养工单汇总
     * @return 是否新增成功
     */
    Boolean insertByBo(EimsMaintStBo bo);
 
    /**
     * 修改保养工单汇总
     *
     * @param bo 保养工单汇总
     * @return 是否修改成功
     */
    Boolean updateByBo(EimsMaintStBo bo);
 
    /**
     * 校验并批量删除保养工单汇总信息
     *
     * @param ids     待删除的主键集合
     * @param isValid 是否进行有效性校验
     * @return 是否删除成功
     */
    R<Void> deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}