| | |
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //查询管理的机房(左侧导航第三层,查所有的机房,num中存放uid)
|
| | | //查询管理的县/区(左侧导航第三层,查所有的县/区)
|
| | | public String serchStationName5(){
|
| | | User_inf u = (User_inf)getUser();
|
| | | BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
|
| | | binf.setNum(u.getUId());
|
| | | ServiceModel model = service.serchStationName5(binf);
|
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //查询管理的县/区(左侧导航第三层,查所有的县/区)
|
| | | public String serchStationName5_all(){
|
| | | BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
|
| | | ServiceModel model = service.serchStationName5_all(binf);
|
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //查询管理的机房(左侧导航第四层,查所有的机房,num中存放uid)
|
| | | public String serchStationName3(){
|
| | | User_inf u = (User_inf)getUser();
|
| | | BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
|
| | |
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //查询管理的机房(左侧导航第三层,查所有的机房)
|
| | | //查询管理的机房(左侧导航第四层,查所有的机房)
|
| | | public String serchStationName3_all(){
|
| | | BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
|
| | | ServiceModel model = service.serchStationName3_all(binf);
|
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //根据机房id查询机房下的电池组信息(左侧导航第四层,根据机房查询下面的电池组,num中存放uid)
|
| | | //根据机房id查询机房下的电池组信息(左侧导航第五层,根据机房查询下面的电池组,num中存放uid)
|
| | | public String serchBattByStation(){
|
| | | BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
|
| | | User_inf u = (User_inf)getUser();
|
| | |
| | | result = ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").toJson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //根据机房id查询机房下的电池组信息(左侧导航第四层,根据机房查询下面的电池组)
|
| | | //根据机房id查询机房下的电池组信息(左侧导航第五层,根据机房查询下面的电池组)
|
| | | public String serchBattByStation_all(){
|
| | | BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
|
| | | //System.out.println(binf);
|