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;
|
}
|
|
|
|
|
}
|