fix: application 查询时不返回 attachment path

This commit is contained in:
zhangshuai
2024-08-26 17:07:54 +08:00
parent 46e2b0632f
commit fda9a1b2b1

View File

@@ -62,6 +62,7 @@ public class ApplicationServiceImpl extends ServiceImpl<ApplicationDao, Applicat
List<ApplicationAttachmentEntity> attachmentEntityList = attachmentService.list(new LambdaQueryWrapper<ApplicationAttachmentEntity>()
.eq(ApplicationAttachmentEntity::getApplicationId, app.getId()));
attachmentEntityList.stream().forEach(x -> x.setPath(null));
app.setAttatchments(attachmentEntityList);
SysUserEntity createUser = userService.getById(app.getCreateUserId());