kongzy
2024-10-30 e7afed8cdb301a311dbad5ed23c7ff9f826b2c48
assess-system/src/main/java/com/gkhy/assess/system/service/impl/AssInvestigationServiceImpl.java
@@ -65,6 +65,9 @@
        accessFiles.addAll(investigation.getCompanyImages());
        accessFiles.addAll(investigation.getDeviceImages());
        accessFiles.addAll(investigation.getInvestingationImages());
        if(accessFiles.isEmpty()){
            throw new ApiException("现场勘验照片不能为空");
        }
        if(investigation.getInvestingationVideos()!=null&& !investigation.getInvestingationVideos().isEmpty()){
            accessFiles.addAll(investigation.getInvestingationVideos());
        }