疯狂的狮子li
2021-06-01 c90ca8c2a63edcacab53a5f3156a561c01439936
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
package com.ruoyi.demo.service;
 
import com.ruoyi.demo.domain.ChkjTest;
import com.ruoyi.demo.vo.ChkjTestVo;
import com.ruoyi.demo.bo.ChkjTestQueryBo;
import com.ruoyi.demo.bo.ChkjTestAddBo;
import com.ruoyi.demo.bo.ChkjTestEditBo;
import com.ruoyi.common.core.page.IServicePlus;
import com.ruoyi.common.core.page.TableDataInfo;
 
import java.util.Collection;
import java.util.List;
 
/**
 * 测试Service接口
 *
 * @author Lion Li
 * @date 2021-05-14
 */
public interface IChkjTestService extends IServicePlus<ChkjTest> {
    /**
     * 查询单个
     * @return
     */
    ChkjTestVo queryById(Long id);
 
    /**
     * 查询列表
     */
    TableDataInfo<ChkjTestVo> queryPageList(ChkjTestQueryBo bo);
    /**
     * 查询列表
     */
    List<ChkjTestVo> queryList(ChkjTestQueryBo bo);
 
    /**
     * 根据新增业务对象插入测试
     * @param bo 测试新增业务对象
     * @return
     */
    Boolean insertByAddBo(ChkjTestAddBo bo);
 
    /**
     * 根据编辑业务对象修改测试
     * @param bo 测试编辑业务对象
     * @return
     */
    Boolean updateByEditBo(ChkjTestEditBo bo);
 
    /**
     * 校验并删除数据
     * @param ids 主键集合
     * @param isValid 是否校验,true-删除前校验,false-不校验
     * @return
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}