yonge há 4 anos atrás
pai
commit
f4cd29df00

+ 11 - 0
mec-biz/src/main/java/com/ym/mec/biz/dal/dto/MusicGroupRegAndMoneyDto.java

@@ -20,6 +20,9 @@ public class MusicGroupRegAndMoneyDto {
 
     @ApiModelProperty(value = "乐团状态", required = false)
     private String musicGroupStatus;
+    
+    @ApiModelProperty(value = "课程展现形式",required = false)
+	private Integer courseViewType;
 
     @ApiModelProperty(value = "预报名人数", required = false)
     private Integer preRegNum = 0;
@@ -173,4 +176,12 @@ public class MusicGroupRegAndMoneyDto {
 	public void setCloudTeacherStudentNumOfApply(Integer cloudTeacherStudentNumOfApply) {
 		this.cloudTeacherStudentNumOfApply = cloudTeacherStudentNumOfApply;
 	}
+
+	public Integer getCourseViewType() {
+		return courseViewType;
+	}
+
+	public void Integer(Integer courseViewType) {
+		this.courseViewType = courseViewType;
+	}
 }

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/MusicGroupMapper.xml

@@ -821,7 +821,7 @@
     </select>
 
     <select id="getMusicGroupByStatus" resultType="com.ym.mec.biz.dal.dto.MusicGroupRegAndMoneyDto">
-        SELECT mg.id_ musicGroupId,o.name_ organName,mg.name_ musicGroupName,mg.status_ musicGroupStatus FROM
+        SELECT mg.id_ musicGroupId,o.name_ organName,mg.name_ musicGroupName,mg.status_ musicGroupStatus,mg.course_view_type_ courseViewType FROM
         music_group mg
         LEFT JOIN organization o ON mg.organ_id_ = o.id_
         WHERE status_ IN ('PRE_APPLY','PRE_BUILD_FEE','FEE_AUDIT','APPLY','PAY')