TASK:上传回显;

This commit is contained in:
shahaibo
2025-06-12 13:12:44 +08:00
parent f179368668
commit 3cd86042ff
3 changed files with 14 additions and 1 deletions

View File

@@ -1747,6 +1747,14 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
}
}
moduleChooseVO.setMannequin(list);
}else if (module.equals(Module.uploadElement.name())) {
QueryWrapper<ToProductElement> qw = new QueryWrapper<>();
qw.lambda().eq(ToProductElement::getProjectId, projectDTO.getId());
List<ToProductElement> toProductElements = toProductElementMapper.selectList(qw);
for (ToProductElement toProductElement : toProductElements) {
toProductElement.setUrl(minioUtil.getPreSignedUrl(toProductElement.getUrl(), 24 * 60));
}
moduleChooseVO.setUploadElement(toProductElements);
}
}
return moduleChooseVO;