1
81041
2019-06-20 ab3c4acf83f54f8449ca8664c4a2bb79bd30f297
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
package com.fgkj.actions;
 
import com.fgkj.dto.ServiceModel;
import com.fgkj.dto.User_battmaint_check;
import com.fgkj.services.User_battmaint_check_processService;
import com.opensymphony.xwork2.ActionSupport;
 
public class User_battmaint_check_processAction extends ActionSupport{
    private User_battmaint_check_processService service =new User_battmaint_check_processService();
    private String result;
    private User_battmaint_check ubc;
    
    //4.10根据User_battmaint_check的num查询User_battmaint_check_process对应的数据
    public String serchByCondition(){
        //System.out.println(ubc);
        ServiceModel model=service.serchByCondition(ubc);
        result=ActionUtil.tojson(model);
        //System.out.println(result);
        return SUCCESS;
    }
 
    public String getResult() {
        return result;
    }
 
    public void setResult(String result) {
        this.result = result;
    }
 
    public User_battmaint_check getUbc() {
        return ubc;
    }
 
    public void setUbc(User_battmaint_check ubc) {
        this.ubc = ubc;
    }
 
}