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();