|
@@ -24,6 +24,7 @@
|
|
<result column="bill_start_date_" property="billStartDate"/>
|
|
<result column="bill_start_date_" property="billStartDate"/>
|
|
<result column="improvent_classes_num_" property="improventClassesNum"/>
|
|
<result column="improvent_classes_num_" property="improventClassesNum"/>
|
|
<result column="enroll_classes_" property="enrollClasses"/>
|
|
<result column="enroll_classes_" property="enrollClasses"/>
|
|
|
|
+ <result column="payment_method_" property="paymentMethod" typeHandler="com.ym.mec.common.dal.CustomEnumTypeHandler" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
<!-- 根据主键查询一条记录 -->
|
|
@@ -45,8 +46,8 @@
|
|
</selectKey>
|
|
</selectKey>
|
|
-->
|
|
-->
|
|
INSERT INTO music_group
|
|
INSERT INTO music_group
|
|
- (id_,name_,organ_id_,school_id_,apply_expire_date_,improvent_classes_num_,enroll_classes_,team_teacher_id_,educational_teacher_id_,charge_type_id_,course_group_id_,class_period_,free_class_period_,create_time_,update_time_,status_,payment_expire_date_,bill_start_date_)
|
|
|
|
- VALUES(#{id},#{name},#{organId},#{schoolId},#{applyExpireDate},#{improventClassesNum},#{enrollClasses},#{teamTeacherId},#{educationalTeacherId},#{chargeTypeId},#{courseGroupId},#{classPeriod},#{freeClassPeriod},#{createTime},#{updateTime},#{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},#{paymentExpireDate},#{billStartDate})
|
|
|
|
|
|
+ (id_,name_,organ_id_,school_id_,apply_expire_date_,improvent_classes_num_,enroll_classes_,team_teacher_id_,educational_teacher_id_,charge_type_id_,course_group_id_,class_period_,free_class_period_,create_time_,update_time_,status_,payment_expire_date_,bill_start_date_,payment_method_)
|
|
|
|
+ VALUES(#{id},#{name},#{organId},#{schoolId},#{applyExpireDate},#{improventClassesNum},#{enrollClasses},#{teamTeacherId},#{educationalTeacherId},#{chargeTypeId},#{courseGroupId},#{classPeriod},#{freeClassPeriod},#{createTime},#{updateTime},#{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},#{paymentExpireDate},#{billStartDate},#{paymentMethod, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler})
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
<!-- 根据主键查询一条记录 -->
|
|
@@ -101,6 +102,9 @@
|
|
<if test="teamTeacherId != null">
|
|
<if test="teamTeacherId != null">
|
|
team_teacher_id_ = #{teamTeacherId},
|
|
team_teacher_id_ = #{teamTeacherId},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="paymentMethod != null">
|
|
|
|
+ payment_method_ = #{paymentMethod, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
WHERE id_ = #{id}
|
|
WHERE id_ = #{id}
|
|
</update>
|
|
</update>
|