增加返回值字段

This commit is contained in:
joylink_zhangsai 2022-07-14 17:13:20 +08:00
parent 87d93692e4
commit 35277606e8
2 changed files with 8 additions and 0 deletions

View File

@ -86,6 +86,9 @@ public class ExamDefinitionVO {
@Min(value = 0) @Min(value = 0)
private Integer passingPoint; private Integer passingPoint;
@JsonSerialize(using = ToStringSerializer.class)
private Long orgId;
/** /**
* 创建人ID * 创建人ID
*/ */
@ -163,6 +166,7 @@ public class ExamDefinitionVO {
this.endTime = examDefinition.getEndTime(); this.endTime = examDefinition.getEndTime();
this.fullPoint = examDefinition.getFullPoint(); this.fullPoint = examDefinition.getFullPoint();
this.passingPoint = examDefinition.getPassingPoint(); this.passingPoint = examDefinition.getPassingPoint();
this.orgId = examDefinition.getOrgId();
this.creatorId = examDefinition.getCreatorId(); this.creatorId = examDefinition.getCreatorId();
this.createTime = examDefinition.getCreateTime(); this.createTime = examDefinition.getCreateTime();
this.remarks = examDefinition.getRemarks(); this.remarks = examDefinition.getRemarks();

View File

@ -62,6 +62,9 @@ public class LessonVO {
* 上传发布审核时间 * 上传发布审核时间
*/ */
private LocalDateTime uploadTime; private LocalDateTime uploadTime;
@JsonSerialize(using = ToStringSerializer.class)
private Long orgId;
/** /**
* 生产者ID * 生产者ID
*/ */
@ -131,6 +134,7 @@ public class LessonVO {
this.name = lesson.getName(); this.name = lesson.getName();
this.remarks = lesson.getRemarks(); this.remarks = lesson.getRemarks();
this.authorId = lesson.getAuthorId(); this.authorId = lesson.getAuthorId();
this.orgId = lesson.getOrgId();
this.creatorId = lesson.getCreatorId(); this.creatorId = lesson.getCreatorId();
this.prdType = lesson.getPrdType(); this.prdType = lesson.getPrdType();
this.mapId = lesson.getMapId(); this.mapId = lesson.getMapId();