| | |
| | | return; |
| | | } |
| | | |
| | | if (workPoolDtos.size() != 1) { |
| | | if (workPoolDtos.size() > 1) { |
| | | return; |
| | | } |
| | | |
| | |
| | | |
| | | workPoolDtos.get(0).setContent(workPoolContentDtos.get(0).getContent()); |
| | | |
| | | workPoolDtos.get(0).setContents(workPoolContentDtos); |
| | | |
| | | WorkPoolFileDto workPoolFileDto = new WorkPoolFileDto(); |
| | | workPoolFileDto.setWorkId(workPoolDtos.get(0).getWorkId()); |
| | | workPoolFileDto.setFileType(WorkPoolFileDto.FILE_TYPE_START); |
| | |
| | | |
| | | String imgUrl = MappingCache.getValue(MappingConstant.FILE_DOMAIN, "IMG_PATH"); |
| | | |
| | | workPoolDtos.get(0).setPathUrl(imgUrl +workPoolFileDtos.get(0).getPathUrl()); |
| | | workPoolDtos.get(0).setPathUrl(imgUrl + workPoolFileDtos.get(0).getPathUrl()); |
| | | } |
| | | |
| | | private void queryTaskAndCopy(List<WorkPoolDto> workPoolDtos) { |