|
@@ -47,6 +47,7 @@
|
|
|
<result column="surplus_course_fee_" property="surplusCourseFee"/>
|
|
|
<result column="paying_status_" property="payingStatus"/>
|
|
|
<result column="has_cloud_teacher_" property="hasCloudTeacher"/>
|
|
|
+ <result column="none_need_cloud_teacher_" property="noneNeedCloudTeacher"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.ym.mec.biz.dal.dto.StudentMusicGroupDto" id="StudentMusicGroupDto"
|
|
@@ -347,6 +348,9 @@
|
|
|
<if test="hasCloudTeacher != null">
|
|
|
has_cloud_teacher_ =#{hasCloudTeacher},
|
|
|
</if>
|
|
|
+ <if test="noneNeedCloudTeacher != null">
|
|
|
+ none_need_cloud_teacher_ =#{noneNeedCloudTeacher},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
WHERE id_ = #{id}
|
|
|
</update>
|
|
@@ -448,6 +452,7 @@
|
|
|
<result column="visit_num_" property="visitNum"/>
|
|
|
<result column="paying_status_" property="payingStatus"/>
|
|
|
<result column="has_cloud_teacher_" property="hasCloudTeacher"/>
|
|
|
+ <result column="none_need_cloud_teacher_" property="noneNeedCloudTeacher"/>
|
|
|
</resultMap>
|
|
|
<select id="queryStudentDetailPage" resultMap="studentApplyDetail">
|
|
|
SELECT sr.id_,
|
|
@@ -469,7 +474,8 @@
|
|
|
sr.actual_subject_id_,
|
|
|
IFNULL(sv.num, 0) visit_num_,
|
|
|
sr.has_cloud_teacher_,
|
|
|
- sr.paying_status_
|
|
|
+ sr.paying_status_,
|
|
|
+ sr.none_need_cloud_teacher_
|
|
|
FROM student_registration sr
|
|
|
LEFT JOIN sys_user su ON sr.user_id_ = su.id_
|
|
|
LEFT JOIN `subject` s ON sr.subject_id_ = s.id_
|