| | |
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | |
| | | |
| | | |
| | | //搜索机房或电池组
|
| | | public String serchStationOrBattgroup(){
|
| | | BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
|
| | |
| | | return SUCCESS;
|
| | | }
|
| | |
|
| | | //电池配组管理(重要)
|
| | | public String serchMakeGroup(){
|
| | | BattInf binf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BattInf.class);
|
| | | ServiceModel model = service.serchMakeGroup(binf);
|
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | public BattInf getBif() {
|
| | | return bif;
|
| | | }
|
| | |
| | | this.btdif = btdif;
|
| | | }
|
| | |
|
| | | |
| | |
|
| | | // public ServiceModel getModel() {
|
| | | // return model;
|
| | | // }
|
| | |
|
| | |
|
| | | public void setJson(String json) {
|
| | | this.json = json;
|