czt
2025-06-10 694f541f9f4bc51818395be84e5ddf322c8048d8
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
package com.ld.igds.inout.view;
 
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.bstek.dorado.data.provider.Page;
import com.ld.igds.inout.service.HSettleService;
import com.ld.igds.models.InoutSettle;
import com.ld.igds.models.InoutVarietyChange;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
 
import java.util.Map;
 
/**
 * @Author: YYC
 * @Description:
 * @DateTime: 2023-11-4 22:05
 **/
@Component
public class SettlePR {
 
 
    @Autowired
    private HSettleService settleService;
 
    /**
     * settlePR#pageList
     *
     * @param page
     * @param param
     * @throws Exception
     */
    @DataProvider
    public void pageList(Page<InoutSettle> page, Map<String, Object> param) throws Exception {
        settleService.pageList(page, param);
    }
 
    /**
     * settlePR#saveData
     *
     * @param data
     */
    @DataResolver
    public void saveData(InoutSettle data) {
        settleService.saveData(data);
    }
 
    /**
     * settlePR#delData
     *
     * @param data
     */
    @Expose
    public void delData(InoutSettle data) {
        settleService.delData(data);
    }
 
}