yangys
2024-04-28 258a769f6790f832d1c67839d59be04a118767e5
smart-man-boot/src/main/java/com/qianwen/smartman/modules/dnc/controller/DncArtFileController.java
@@ -36,7 +36,6 @@
@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;
@@ -107,7 +106,7 @@
    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();