heheng
2025-01-06 56287f4037defafbd3a3bbebd1827fd20a8b91d4
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());
        }