81041
2019-10-31 2edd919b4ae7eb04a766ba034518ab420f4860f9
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
package com.fgkj.actions;
 
import com.fgkj.dto.ServiceModel;
import com.fgkj.dto.Thread_util;
import com.fgkj.services.Thread_utilService;
 
public class Thread_utilAction extends ActionUtil{
    private Thread_utilService service=new Thread_utilService();
    private String json;
    private String result;
    
    //启动线程
    public String update() {
        Thread_util util=getGson().fromJson(json, Thread_util.class);
        ServiceModel model=service.update(util);
        result=tojson(model);
        return SUCCESS;
    }
    
    
    public String getResult() {
        return result;
    }
    public void setJson(String json) {
        this.json = json;
    }
    
    
 
}