Переглянути джерело

Merge branch 'feature-lihb-20250610' of http://219.151.181.73:3000/zhuwei/bladex into test-merge-02

LHB 3 місяців тому
батько
коміт
1cf2d32945

+ 2 - 0
blade-service/blade-business/src/main/java/org/springblade/business/service/impl/PrivateStandardServiceImpl.java

@@ -241,7 +241,9 @@ public class PrivateStandardServiceImpl extends ServiceImpl<PrivateStandardMappe
                             for (StandardFile standardFile : standardFiles) {
                                 String pdfName = standardFile.getStandardFileUrl().split("upload")[1];
                                 this.newIOSSClient.removeFile("upload" + pdfName);
+                                standardFile.setIsDeleted(1);
                             }
+                            standardFileService.saveOrUpdateBatch(standardFiles);
                         }
                         MultipartFile file = dto.getFile();
                         StandardFile standardFile = new StandardFile();