81041
2018-10-29 2a3878853abe5e914f59aca08b3cc4a855713d6e
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
package com.fgkj.actions;
 
import com.fgkj.dto.ServiceModel;
import com.fgkj.dto.Stationtraffic;
import com.fgkj.services.StationtrafficService;
 
 
public class StationtrafficAction extends ActionUtil{
    private StationtrafficService service=new StationtrafficService();
    private String json;
    private String result;
    
    
    //统计基站流量
    public String serchByCondition() {
        Stationtraffic st=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Stationtraffic.class);
        ServiceModel model=service.serchByCondition(st);
        result=tojson(model);
        return SUCCESS;
    }
    public String getResult() {
        return result;
    }
    public void setJson(String json) {
        this.json = json;
    }
    
    
}