| | |
| | | return OK_List(applayFileSort); |
| | | } |
| | | |
| | | /** |
| | | * 获取借阅详情信息 |
| | | * @param request |
| | | */ |
| | | |
| | | @RequestMapping(value = "/getApplayInfo/{version}", method = RequestMethod.POST) |
| | | @ApiVersion(1) |
| | | public String getApplayInfo(HttpServletRequest request){ |
| | | //获取参数 |
| | | FieldSetEntity fse = null; |
| | | Object bean = request.getAttribute(CoreConst.API_POST_REQUEST_DATA); |
| | | if (bean != null) { |
| | | RequestParameterEntity reqp = (RequestParameterEntity) bean; |
| | | fse = reqp.getFormData(); |
| | | } |
| | | //判断参数是否为空 |
| | | if (fse == null) { |
| | | SpringMVCContextHolder |
| | | .getSystemLogger().error(DocumentCode.DOCUMENT_FORM_NODATA.getValue(), DocumentCode.DOCUMENT_FORM_NODATA.getText()); |
| | | return this.error(DocumentCode.DOCUMENT_FORM_NODATA.getValue(), DocumentCode.DOCUMENT_FORM_NODATA.getText()); |
| | | } |
| | | FieldSetEntity applayInfo = documentService.getApplayInfo(fse); |
| | | return OK_List(applayInfo); |
| | | } |
| | | |
| | | } |
| | | |
| | | |