| | |
| | | import com.fgkj.dto.BattInf;
|
| | | import com.fgkj.dto.Bts_station_event;
|
| | | import com.fgkj.dto.ServiceModel;
|
| | | import com.fgkj.dto.User_inf;
|
| | | import com.fgkj.services.Batt_devalarm_data_historyService;
|
| | | import com.fgkj.services.Bts_station_eventService;
|
| | |
|
| | |
| | | //机房事件统计
|
| | | public String serchByCondition(){
|
| | | BattInf binf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BattInf.class);
|
| | | User_inf uinf=(User_inf) getUser();
|
| | | binf.setNum(uinf.getUId());
|
| | | ServiceModel model=service.serchByCondition(binf);
|
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | |
| | | //机房事件统计
|
| | | public String serchByInfo(){
|
| | | Bts_station_event bevent=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Bts_station_event.class);
|
| | | User_inf uinf=(User_inf) getUser();
|
| | | bevent.setNum(uinf.getUId());
|
| | | ServiceModel model=service.serchByInfo(bevent);
|
| | | result=tojson(model);
|
| | | return SUCCESS;
|