|
@@ -45,6 +45,7 @@
|
|
typeHandler="com.ym.mec.common.dal.CustomEnumTypeHandler"/>
|
|
typeHandler="com.ym.mec.common.dal.CustomEnumTypeHandler"/>
|
|
<result column="is_show_record_of_student_" property="isShowRecordOfStudent"/>
|
|
<result column="is_show_record_of_student_" property="isShowRecordOfStudent"/>
|
|
<result column="musical_instruments_provide_status_" property="musicalInstrumentsProvideStatus"/>
|
|
<result column="musical_instruments_provide_status_" property="musicalInstrumentsProvideStatus"/>
|
|
|
|
+ <result column="homework_push_flag_" property="homeworkPushFlag"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.ym.mec.biz.dal.dto.MusicGroupBasicDto" id="MusicGroupBasicDto" extends="MusicGroup">
|
|
<resultMap type="com.ym.mec.biz.dal.dto.MusicGroupBasicDto" id="MusicGroupBasicDto" extends="MusicGroup">
|
|
@@ -104,7 +105,7 @@
|
|
settlement_type_, cooperation_organ_id_, enlightenment_course_time_,
|
|
settlement_type_, cooperation_organ_id_, enlightenment_course_time_,
|
|
parent_meeting_time_, img_, director_user_id_, is_classroom_lessons_, memo_, expect_start_group_date_,
|
|
parent_meeting_time_, img_, director_user_id_, is_classroom_lessons_, memo_, expect_start_group_date_,
|
|
ownership_type_, repair_user_id_, del_flag_, payment_valid_start_date_, payment_valid_end_date_,
|
|
ownership_type_, repair_user_id_, del_flag_, payment_valid_start_date_, payment_valid_end_date_,
|
|
- payment_pattern_, course_view_type_, transaction_teacher_id_)
|
|
|
|
|
|
+ payment_pattern_, course_view_type_, transaction_teacher_id_,homework_push_flag_)
|
|
VALUES (#{id}, #{name}, #{organId}, #{schoolId}, #{applyExpireDate}, #{preApplyExpireDate}, #{teamTeacherId},
|
|
VALUES (#{id}, #{name}, #{organId}, #{schoolId}, #{applyExpireDate}, #{preApplyExpireDate}, #{teamTeacherId},
|
|
#{educationalTeacherId},
|
|
#{educationalTeacherId},
|
|
#{chargeTypeId}, #{courseForm}, now(), now(),
|
|
#{chargeTypeId}, #{courseForm}, now(), now(),
|
|
@@ -116,13 +117,16 @@
|
|
#{isClassroomLessons}, #{memo}, #{expectStartGroupDate},
|
|
#{isClassroomLessons}, #{memo}, #{expectStartGroupDate},
|
|
#{ownershipType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, #{repairUserId},
|
|
#{ownershipType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, #{repairUserId},
|
|
#{delFlag}, #{paymentValidStartDate}, #{paymentValidEndDate}, #{paymentPattern},
|
|
#{delFlag}, #{paymentValidStartDate}, #{paymentValidEndDate}, #{paymentPattern},
|
|
- #{courseViewType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, #{transactionTeacherId})
|
|
|
|
|
|
+ #{courseViewType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, #{transactionTeacherId},#{homeworkPushFlag})
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
<!-- 根据主键查询一条记录 -->
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.MusicGroup">
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.MusicGroup">
|
|
UPDATE music_group
|
|
UPDATE music_group
|
|
<set>
|
|
<set>
|
|
|
|
+ <if test="homeworkPushFlag != null">
|
|
|
|
+ homework_push_flag_ = #{homeworkPushFlag},
|
|
|
|
+ </if>
|
|
<if test="paymentPattern != null">
|
|
<if test="paymentPattern != null">
|
|
payment_pattern_ = #{paymentPattern},
|
|
payment_pattern_ = #{paymentPattern},
|
|
</if>
|
|
</if>
|