| | |
| | | FieldSetEntity applayInfo = documentService.getApplyInfo(fse); |
| | | return OK_List(applayInfo); |
| | | } |
| | | |
| | | @RequestMapping(value = "/getFileItemize/{version}", method = RequestMethod.POST) |
| | | @ApiVersion(1) |
| | | public String getFileItemize(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()); |
| | | } |
| | | return OK_List(documentService.getFileItemize(fse)); |
| | | } |
| | | } |
| | | |
| | | |