From 35277606e84f0bd942009b47a13bd6a911b14057 Mon Sep 17 00:00:00 2001 From: joylink_zhangsai <1021828630@qq.com> Date: Thu, 14 Jul 2022 17:13:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BF=94=E5=9B=9E=E5=80=BC?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/club/joylink/rtss/vo/client/ExamDefinitionVO.java | 4 ++++ src/main/java/club/joylink/rtss/vo/client/LessonVO.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/main/java/club/joylink/rtss/vo/client/ExamDefinitionVO.java b/src/main/java/club/joylink/rtss/vo/client/ExamDefinitionVO.java index 7e995137b..f06f13a24 100644 --- a/src/main/java/club/joylink/rtss/vo/client/ExamDefinitionVO.java +++ b/src/main/java/club/joylink/rtss/vo/client/ExamDefinitionVO.java @@ -86,6 +86,9 @@ public class ExamDefinitionVO { @Min(value = 0) private Integer passingPoint; + @JsonSerialize(using = ToStringSerializer.class) + private Long orgId; + /** * 创建人ID */ @@ -163,6 +166,7 @@ public class ExamDefinitionVO { this.endTime = examDefinition.getEndTime(); this.fullPoint = examDefinition.getFullPoint(); this.passingPoint = examDefinition.getPassingPoint(); + this.orgId = examDefinition.getOrgId(); this.creatorId = examDefinition.getCreatorId(); this.createTime = examDefinition.getCreateTime(); this.remarks = examDefinition.getRemarks(); diff --git a/src/main/java/club/joylink/rtss/vo/client/LessonVO.java b/src/main/java/club/joylink/rtss/vo/client/LessonVO.java index 813be3096..afb9aa9bf 100644 --- a/src/main/java/club/joylink/rtss/vo/client/LessonVO.java +++ b/src/main/java/club/joylink/rtss/vo/client/LessonVO.java @@ -62,6 +62,9 @@ public class LessonVO { * 上传发布审核时间 */ private LocalDateTime uploadTime; + + @JsonSerialize(using = ToStringSerializer.class) + private Long orgId; /** * 生产者ID */ @@ -131,6 +134,7 @@ public class LessonVO { this.name = lesson.getName(); this.remarks = lesson.getRemarks(); this.authorId = lesson.getAuthorId(); + this.orgId = lesson.getOrgId(); this.creatorId = lesson.getCreatorId(); this.prdType = lesson.getPrdType(); this.mapId = lesson.getMapId();