This commit is contained in:
zjf committed 2025-08-12 10:08:34 +08:00
1 parent f105a19caf
commit d40694c61e
2 files changed
+3

No files matched your search

@@ -6,6 +6,8 @@ import java.time.LocalDateTime;
@Data
public class NoticeScreenVo {
private Long id;
@Schema(description = "标题")
private String title;
@@ -232,6 +232,7 @@ public class NoticeController {
// 转换为简化的VO对象,只返回必要信息
List<NoticeScreenVo> voList = list.stream().map(e -> {
NoticeScreenVo vo = new NoticeScreenVo();
vo.setId(e.getId());
vo.setTitle(e.getTitle());
vo.setCreateTime(e.getCreateTime());
vo.setDescription(e.getDescription());