| | |
| | | import com.fgkj.dto.BattInf;
|
| | | import com.fgkj.dto.Battinf_apply;
|
| | | import com.fgkj.dto.ServiceModel;
|
| | | import com.fgkj.dto.User_inf;
|
| | | import com.fgkj.services.Battinf_applyService;
|
| | | import com.google.gson.reflect.TypeToken;
|
| | |
|
| | |
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | |
| | | //查询出所有需要确认的申请
|
| | | public String serchByCondition(){
|
| | | Battinf_apply bapply=ActionUtil.getGson().fromJson(json, Battinf_apply.class);
|
| | | ServiceModel model=service.serchByCondition(bapply);
|
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //查询出审核完的申请和待审核的申请
|
| | | public String serchByInfo(){
|
| | | Battinf_apply bapply=ActionUtil.getGson().fromJson(json, Battinf_apply.class);
|
| | | User_inf uinf=(User_inf) getUser();
|
| | | bapply.setNum(uinf.getUId());
|
| | | ServiceModel model=service.serchByInfo(bapply);
|
| | | result=tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | |
|
| | |
|
| | | public String getResult() {
|