YYC
2023-07-19 e4b8ad94cc1f48b2e47c022f19e70cc68b1e925b
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
package com.ld.igds.temp.view;
 
import java.util.List;
 
import com.ld.igds.models.TempIntelConf;
import com.ld.igds.models.TempIntelTask;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
 
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.ld.igds.temp.service.HTempIntelService;
 
@Component
public class TempIntelPR {
 
    @Autowired
    private HTempIntelService intelService;
 
    /**
     * tempIntelPR#listIntelTask
     * 
     * @return
     */
    @DataProvider
    public List<TempIntelTask> listIntelTask() {
        return intelService.listIntel();
    }
 
    /**
     * tempIntelPR#saveIntelTask
     * 
     * @param data
     */
    @DataResolver
    public void saveIntelTask(TempIntelTask data) {
        intelService.saveIntel(data);
    }
 
    /**
     * tempIntelPR#delIntelTask
     * 
     * @param data
     * @return
     */
    @Expose
    public String delIntelTask(TempIntelTask data) {
        return intelService.delIntel(data);
    }
 
    /**
     * tempIntelPR#taskRun
     * 
     * 启动任务
     * 
     * @param data
     * @return
     */
    @Expose
    public String taskRun(TempIntelTask data) {
        return intelService.taskRun(data);
    }
 
    /**
     * 停止任务
     * 
     * @param data
     * @return
     */
    @Expose
    public String taskStop(TempIntelTask data) {
        return intelService.taskStop(data);
    }
 
 
    /**
     * tempIntelPR#listIntelConf
     *
     * @return
     */
    @DataProvider
    public List<TempIntelConf> listIntelConf() {
        return intelService.listIntelConf();
    }
 
 
    /**
     * tempIntelPR#saveIntelConf
     *
     * @param data
     */
    @DataResolver
    public void saveIntelConf(TempIntelConf data) {
        intelService.saveIntelConf(data);
    }
 
    /**
     * tempIntelPR#delIntelConf
     *
     * @param data
     * @return
     */
    @Expose
    public String delIntelConf(TempIntelConf data) {
        return intelService.delIntelConf(data);
    }
 
 
}