| | |
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //验收申请(多条)
|
| | | //验收(多条)
|
| | | public String check(){
|
| | | List<Battinf_apply> list=ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").fromJson(json,new TypeToken<List<Battinf_apply>>(){}.getType() );
|
| | | ServiceModel model=service.check(list);
|
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //申请验收(多条)
|
| | | public String checkPro(){
|
| | | List<Battinf_apply> list=ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").fromJson(json,new TypeToken<List<Battinf_apply>>(){}.getType() );
|
| | | ServiceModel model=service.checkPro(list);
|
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | |
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //根据机房id查询出申请人已审批通过的电池组信息
|
| | | public String serchById(){
|
| | | Battinf_apply bapply=ActionUtil.getGson().fromJson(json, Battinf_apply.class);
|
| | | User_inf uinf=(User_inf) getUser();
|
| | | bapply.setApply_uid(uinf.getUId());
|
| | | ServiceModel model=service.serchById(bapply);
|
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | |
|
| | | public String getResult() {
|
| | | return result;
|