YYC
2023-07-28 92c29136e298a2b6023f701082c24229733d6768
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 java.util.Map;
import com.ld.igds.m.service.HInoutDriverService;
import com.ld.igds.models.InoutDriver;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.Expose;
import com.bstek.dorado.data.provider.Page;
 
/**
 * 出入库-承运人信息
 * 
 * @author: andy.jia
 * @description:
 * @version:
 * @data:2020年3月12日
 *
 */
@Component("inoutDriverPR")
public class InoutDriverPR {
 
    @Autowired
    private HInoutDriverService driverService;
 
    /**
     * inoutDriverPR#pageQuery
     * 
     * @param page
     * @param parameter
     * @throws Exception
     */
    @DataProvider
    public void pageQuery(Page<InoutDriver> page, Map<String, Object> parameter)
            throws Exception {
        driverService.pageQuery(page, parameter);
    }
 
    /**
     * inoutDriverPR#saveData
     */
    @Expose
    public String saveData(InoutDriver data) {
        return driverService.saveOrUpdataData(data);
    }
 
    /**
     * inoutDriverPR#delData
     */
    @Expose
    public String delData(InoutDriver data) {
        return driverService.delData(data);
    }
 
}