fix: application 查询时不返回 attachment path
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user