|
@@ -12,7 +12,6 @@
|
|
|
<result column="team_teacher_id_" property="teamTeacherId"/>
|
|
|
<result column="educational_teacher_id_" property="educationalTeacherId"/>
|
|
|
<result column="transaction_teacher_id_" property="transactionTeacherId"/>
|
|
|
- <result column="charge_type_id_" property="chargeTypeId"/>
|
|
|
<result column="course_form_" property="courseForm"/>
|
|
|
<result column="create_time_" property="createTime"/>
|
|
|
<result column="update_time_" property="updateTime"/>
|
|
@@ -114,7 +113,7 @@
|
|
|
INSERT INTO music_group
|
|
|
(id_, name_, organ_id_, school_id_, apply_expire_date_, pre_apply_expire_date_, team_teacher_id_,
|
|
|
educational_teacher_id_,
|
|
|
- charge_type_id_, course_form_, create_time_, update_time_, status_,
|
|
|
+ course_form_, create_time_, update_time_, status_,
|
|
|
bill_start_date_, improvent_classes_num_, enroll_classes_, payment_expire_date_, is_extra_class_,
|
|
|
settlement_type_, cooperation_organ_id_, enlightenment_course_time_,
|
|
|
parent_meeting_time_, img_, director_user_id_, is_classroom_lessons_, memo_, expect_start_group_date_,
|
|
@@ -123,7 +122,7 @@
|
|
|
music_group_plan_making_id_,first_recruit_grade_,default_charge_standard_,single_train_minutes_,course_plan_,sale_activity_desc_,graduate_grade_,basic_student_num_,payment_user_type_,charge_mode_)
|
|
|
VALUES (#{id}, #{name}, #{organId}, #{schoolId}, #{applyExpireDate}, #{preApplyExpireDate}, #{teamTeacherId},
|
|
|
#{educationalTeacherId},
|
|
|
- #{chargeTypeId}, #{courseForm}, now(), now(),
|
|
|
+ #{courseForm}, now(), now(),
|
|
|
#{status, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, #{billStartDate},
|
|
|
#{improventClassesNum}, #{enrollClasses}, #{paymentExpireDate},
|
|
|
#{isExtraClass, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
@@ -171,9 +170,6 @@
|
|
|
<if test="courseForm != null">
|
|
|
course_form_ = #{courseForm},
|
|
|
</if>
|
|
|
- <if test="chargeTypeId != null">
|
|
|
- charge_type_id_ = #{chargeTypeId},
|
|
|
- </if>
|
|
|
<if test="educationalTeacherId != null">
|
|
|
educational_teacher_id_ = #{educationalTeacherId},
|
|
|
</if>
|
|
@@ -326,9 +322,6 @@
|
|
|
AND (mg.name_ LIKE CONCAT('%',#{search},'%') OR mg.id_ LIKE CONCAT('%',#{search},'%')
|
|
|
OR mg.cooperation_organ_id_ = #{search} OR co.name_ LIKE CONCAT('%',#{search},'%'))
|
|
|
</if>
|
|
|
- <if test="chargeTypeId != null">
|
|
|
- AND mg.charge_type_id_ = #{chargeTypeId}
|
|
|
- </if>
|
|
|
<if test="musicGroupStatus != null">
|
|
|
AND FIND_IN_SET(mg.status_,#{musicGroupStatus})
|
|
|
</if>
|