diff --git a/src/main/java/com/teaching/backend/model/entity/cms/CmsEssay.java b/src/main/java/com/teaching/backend/model/entity/cms/CmsEssay.java index 5038816..cc381f2 100644 --- a/src/main/java/com/teaching/backend/model/entity/cms/CmsEssay.java +++ b/src/main/java/com/teaching/backend/model/entity/cms/CmsEssay.java @@ -49,9 +49,6 @@ public class CmsEssay implements Serializable { @ApiModelProperty(value = "浏览次数") private Integer readingNumber; - @ApiModelProperty(value = "评论条数") - private Integer commentCount; - @ApiModelProperty(value = "所属栏目id") private Integer categoryId; diff --git a/src/main/java/com/teaching/backend/model/entity/courses/CourseLearningNumber.java b/src/main/java/com/teaching/backend/model/entity/courses/CourseLearningNumber.java index 72566b0..e462f90 100644 --- a/src/main/java/com/teaching/backend/model/entity/courses/CourseLearningNumber.java +++ b/src/main/java/com/teaching/backend/model/entity/courses/CourseLearningNumber.java @@ -36,6 +36,10 @@ public class CourseLearningNumber implements Serializable { @TableField("course_id") private String courseId; + @ApiModelProperty(value = "老师用户id") + @TableField("teacher_user_id") + private String teacherUserId; + @ApiModelProperty(value = "课程学习人数") @TableField("number") private Integer number; diff --git a/src/main/java/com/teaching/backend/model/entity/records/CourseLearningRecord.java b/src/main/java/com/teaching/backend/model/entity/records/CourseLearningRecord.java index 1617d15..7afccf3 100644 --- a/src/main/java/com/teaching/backend/model/entity/records/CourseLearningRecord.java +++ b/src/main/java/com/teaching/backend/model/entity/records/CourseLearningRecord.java @@ -54,6 +54,10 @@ public class CourseLearningRecord implements Serializable { @TableField("img") private String img; + @ApiModelProperty(value = "老师用户id") + @TableField("teacher_user_id") + private String teacherUserId; + @ApiModelProperty(value = "最近学习时间") @TableField("times") private LocalDateTime times; diff --git a/src/main/java/com/teaching/backend/service/impl/records/CourseLearningRecordServiceImpl.java b/src/main/java/com/teaching/backend/service/impl/records/CourseLearningRecordServiceImpl.java index fb3e253..1193803 100644 --- a/src/main/java/com/teaching/backend/service/impl/records/CourseLearningRecordServiceImpl.java +++ b/src/main/java/com/teaching/backend/service/impl/records/CourseLearningRecordServiceImpl.java @@ -74,6 +74,7 @@ public class CourseLearningRecordServiceImpl extends ServiceImpl