| | |
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //添加申请
|
| | | //添加申请(新建)
|
| | | public String add(){
|
| | | List<Battinf_apply> list=ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").fromJson(json,new TypeToken<List<Battinf_apply>>(){}.getType() );
|
| | | ServiceModel model=service.add(list);
|
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //添加申请(修改旧的)
|
| | | public String addPro(){
|
| | | List<Battinf_apply> list=ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").fromJson(json,new TypeToken<List<Battinf_apply>>(){}.getType() );
|
| | | ServiceModel model=service.addPro(list);
|
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //查询出所有需要确认的申请
|
| | | public String serchByCondition(){
|
| | | Battinf_apply bapply=ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Battinf_apply.class);
|