From fda9a1b2b1ae2f5b573a5c8ea4cc2fa87d45a69a Mon Sep 17 00:00:00 2001 From: zhangshuai Date: Mon, 26 Aug 2024 17:07:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20application=20=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=97=B6=E4=B8=8D=E8=BF=94=E5=9B=9E=20attachment=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../asw/module/app/service/impl/ApplicationServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/geedge/asw/module/app/service/impl/ApplicationServiceImpl.java b/src/main/java/net/geedge/asw/module/app/service/impl/ApplicationServiceImpl.java index 20a010e..5c8e3a9 100644 --- a/src/main/java/net/geedge/asw/module/app/service/impl/ApplicationServiceImpl.java +++ b/src/main/java/net/geedge/asw/module/app/service/impl/ApplicationServiceImpl.java @@ -62,6 +62,7 @@ public class ApplicationServiceImpl extends ServiceImpl attachmentEntityList = attachmentService.list(new LambdaQueryWrapper() .eq(ApplicationAttachmentEntity::getApplicationId, app.getId())); + attachmentEntityList.stream().forEach(x -> x.setPath(null)); app.setAttatchments(attachmentEntityList); SysUserEntity createUser = userService.getById(app.getCreateUserId());