81041
2018-10-12 db9cf3a73dea628d292c6d9fef922c6fded71a33
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.ram;
 
import com.fgkj.actions.ActionUtil;
import com.fgkj.dto.BattInf;
import com.fgkj.dto.ServiceModel;
import com.fgkj.services.ram.Bts_station_stateService;
 
public class Bts_station_stateAction extends ActionUtil{
    private Bts_station_stateService service=new Bts_station_stateService();
    private String  json;
    private String result;
    //查询机房实时状态
    private String serchByCondition(){
        BattInf binf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BattInf.class);
        ServiceModel model=service.serchByCondition(binf);
        result=tojson(model);
        return SUCCESS;
    }
    
    
    
    
    
    
    
    
    
    public String getResult() {
        return result;
    }
    public void setJson(String json) {
        this.json = json;
    }
      
      
      
      
}