Browse Source

小组课

zouxuan 3 days ago
parent
commit
654b72c63b

+ 1 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/CourseGroupServiceImpl.java

@@ -236,6 +236,7 @@ public class CourseGroupServiceImpl extends ServiceImpl<CourseGroupDao, CourseGr
         result.setSalesStartDate(group.getSalesStartDate());
         result.setSalesEndDate(group.getSalesEndDate());
         result.setMixStudentNum(group.getMixStudentNum());
+        result.setMaxStudentNum(group.getMaxStudentNum());
         result.setImGroupId(group.getImGroupId());
         result.setAuditVersion(group.getAuditVersion());
         SysUser teacherUser = sysUserService.getByUserId(group.getTeacherId());

+ 3 - 3
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/vo/CourseGroupVo.java

@@ -40,9 +40,6 @@ public class CourseGroupVo implements Serializable {
     @ApiModelProperty(value = "课程人数")
     private Integer studentCount;
 
-    @ApiModelProperty(value = "最大成课人数")
-    private Integer maxStudentCount;
-
     @ApiModelProperty(value = "课程图片")
     private String backgroundPic;
 
@@ -75,6 +72,9 @@ public class CourseGroupVo implements Serializable {
     @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
     private Date salesEndDate;
 
+    @ApiModelProperty(value = "最大成课人数")
+    private Integer maxStudentNum;
+
     @ApiModelProperty(value = "最少成课人数")
     private Integer mixStudentNum;