| | |
| | | public Object getReturnApplyInfo(@RequestParam(value = "caseTaskId") String caseTaskId, @CurrentUser String userId) { |
| | | try { |
| | | CaseReturn caseReturn = caseReturnService.getByCaseTaskId(caseTaskId); |
| | | if (ObjectUtils.isNotEmpty(caseReturn)) { |
| | | Map<String, Object> term = new HashMap<>(); |
| | | term.put("mainId", caseReturn.getCaseId()); |
| | | term.put("ownerIds", caseReturn.getId()); |
| | |
| | | if(CollectionUtils.isNotEmpty(fileInfoList)){ |
| | | caseReturn.setFileInfoList(fileInfoList.get(0).getFileList().get(0).getFileList()); |
| | | } |
| | | } |
| | | return ReturnSucUtils.getRepInfo(caseReturn); |
| | | } catch (Exception e) { |
| | | return ReturnFailUtils.getRepInfo(); |