| | |
| | | @RestController |
| | | @ApiResource({"blade-dnc/dnc-art-file"}) |
| | | @Validated |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/controller/DncArtFileController.class */ |
| | | public class DncArtFileController extends BladeController { |
| | | private final IDncArtFileService dncArtFileService; |
| | | |
| | |
| | | private boolean existDuplicateFileInArtBag(SyncArtCatalogVO syncArtCatalogVO) { |
| | | List<SyncArtBagVO> artBags = syncArtCatalogVO.getArtBag(); |
| | | return artBags.stream().anyMatch(item -> { |
| | | Set<String> fileNames = (Set) item.getFileList().stream().map(x -> { |
| | | Set<String> fileNames = item.getFileList().stream().map(x -> { |
| | | return x.getFileName(); |
| | | }).collect(Collectors.toSet()); |
| | | boolean existDuplicateFile = item.getFileList().size() > fileNames.size(); |