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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
package com.moral.api.service;
 
import com.moral.api.entity.Version;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moral.api.pojo.dto.version.VersionDTO;
import com.moral.api.pojo.dto.version.VersionQueryDTO;
import com.moral.api.pojo.form.version.*;
 
/**
 * <p>
 * 型号表 服务类
 * </p>
 *
 * @author moral
 * @since 2021-05-14
 */
public interface VersionService extends IService<Version> {
 
    /**
    * @Description: 分页查询所有型号
            * @Param: [form]
            * @return: com.moral.api.pojo.dto.version.VersionQueryDTO
            * @Author: 陈凯裕
            * @Date: 2021/5/14
            */
    VersionQueryDTO query(VersionQueryForm form);
 
    /**
    * @Description: 更新version基本信息
            * @Param: [form]
            * @return: com.moral.api.pojo.dto.version.VersionDTO
            * @Author: 陈凯裕
            * @Date: 2021/5/20
            */
    VersionDTO update(VersionUpdateForm form);
 
    /**
    * @Description: 新增version
            * @Param: [form]
            * @return: com.moral.api.pojo.dto.version.VersionDTO
            * @Author: 陈凯裕
            * @Date: 2021/5/20
            */
    VersionDTO insert(VersionInsertForm form);
 
    /**
    * @Description: 删除version
            * @Param: [form]
            * @return: com.moral.api.pojo.dto.version.VersionDTO
            * @Author: 陈凯裕
            * @Date: 2021/5/20
            */
    VersionDTO delete(VersionDeleteForm form);
 
    /**
    * @Description: 更新型号的因子和单位
            * @Param: [form]
            * @return: com.moral.api.pojo.dto.version.VersionDTO
            * @Author: 陈凯裕
            * @Date: 2021/5/21
            */
    VersionDTO updateSensorUnits(VersionSensorUnitForm form);
 
 
    /**
    * @Description: 根据型号id查询对应的因子
            * @Param: [form]
            * @return: com.moral.api.pojo.dto.version.VersionDTO
            * @Author: 陈凯裕
            * @Date: 2021/6/9
            */
    VersionQueryDTO queryVersionById(VersionQueryByIdForm form);
 
    /**
    * @Description: 根据组织id查询型号
            * @Param: [organizationId]
            * @return: com.moral.api.pojo.dto.version.VersionQueryDTO
            * @Author: 陈凯裕
            * @Date: 2021/6/18
            */
    VersionQueryDTO queryByOrganizationId(Integer organizationId);
 
}