jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
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
package com.ld.igds.verb.mapper;
 
import com.ld.igds.io.request.ExeDevice;
import com.ld.igds.verb.dto.VerbAutoData;
import com.ld.igds.verb.dto.VerbParam;
 
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface AreationMapper {
 
    /**
     * 根据仓库编码获取当前仓库下的自动模式配置
     *
     * @param param
     * @return
     */
    List<VerbAutoData> listAutoData(@Param("param") VerbParam param);
 
    /**
     * 根据条件获取自动模式下的详细配置信息
     *
     * @param param
     * @return
     */
    List<ExeDevice> listAutoDataConf(@Param("param") VerbParam param);
 
    /**
     * 根据参数获取当前的自动通风方案,其中模式的ID不能为空
     *
     * @return
     */
    VerbAutoData queryAutoDataById(@Param("param") VerbParam param);
 
 
    void addAuto(@Param("data") VerbAutoData data);
 
    void delAuto(@Param("id") String id);
 
    void updateAuto(@Param("data") VerbAutoData data);
 
    /**
     * 根据执行设备新增配置信息
     *
     * @param device
     */
    void addAutoConf(@Param("data") ExeDevice device);
 
    /**
     * 根据模式配置ID删除原有配置
     *
     * @param autoId
     */
    void delAutoConfByAutoId(@Param("autoId") String autoId);
}