jiazx0107@163.com
2023-11-06 786b5b76fee42107cef33892cbf7e3e8fab4f0e4
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.m.view;
 
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.ld.igds.m.service.HInoutCarConfService;
import com.ld.igds.models.InoutCarConf;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
 
/**
 * @author: chen
 *
 */
@Component
public class InoutCarConfPR {
 
    @Autowired
    private HInoutCarConfService carConfService;
 
 
    /**
     * inoutCarConfPR#listCarConf
     *
     * @return
     */
    @DataProvider
    public List<InoutCarConf> listCarConf(Map<String, Object> param) {
        return carConfService.listCarConf(param);
    }
 
    /**
     * inoutCarConfPR#saveCarConf
     *
     * @param data
     * @return
     */
    @DataResolver
    public String saveCarConf(InoutCarConf data) {
        return carConfService.saveCarConf(data);
    }
 
    /**
     * inoutCarConfPR#delCarConf
     *
     * @param data
     * @return
     */
    @Expose
    public String delCarConf(InoutCarConf data) {
        return carConfService.delCarConf(data);
    }
 
}