whyclj
2019-10-29 1c0469e45346d464e0c5672ee68f9ecd4fb6be7c
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
package com.fgkj.actions;
 
import com.fgkj.dto.Batt_maintenance_inf;
import com.fgkj.dto.ServiceModel;
import com.fgkj.services.Batt_maintenance_infService;
import com.opensymphony.xwork2.ActionSupport;
 
public class Batt_maintenance_infAction extends ActionSupport{
    private Batt_maintenance_infService service = new Batt_maintenance_infService();
    private String result;
    private Batt_maintenance_inf bmi;
    
    public String searchAll(){
        ServiceModel model=service.searchAll();
        result=ActionUtil.tojson(model);
        return SUCCESS;
    }
 
    public String getResult() {
        return result;
    }
 
    public void setBmi(Batt_maintenance_inf bmi) {
        this.bmi = bmi;
    }
}