|
|
@@ -16,7 +16,7 @@
|
|
|
<result column="expect_num_" property="expectNum"/>
|
|
|
<result column="actual_num_" property="actualNum"/>
|
|
|
<result column="memo_" property="memo"/>
|
|
|
- <result column="type_" property="type" typeHandler="com.ym.mec.common.dal.CustomEnumTypeHandler"/>
|
|
|
+ <result column="is_give_music_network_" property="isGiveMusicNetwork"/>
|
|
|
<result column="create_time_" property="createTime"/>
|
|
|
<result column="update_time_" property="updateTime"/>
|
|
|
<result column="payment_valid_start_date_" property="paymentValidStartDate"/>
|
|
|
@@ -40,9 +40,9 @@
|
|
|
keyColumn="id" keyProperty="id">
|
|
|
INSERT INTO music_group_payment_calender
|
|
|
(music_group_id_,payment_month_,start_payment_date_,deadline_payment_date_,payment_status_,expect_num_,
|
|
|
- actual_num_,memo_,type_,create_time_,update_time_,payment_valid_start_date_,payment_valid_end_date_,payment_pattern_,payment_type_)
|
|
|
+ actual_num_,memo_,is_give_music_network_,create_time_,update_time_,payment_valid_start_date_,payment_valid_end_date_,payment_pattern_,payment_type_)
|
|
|
VALUES(#{musicGroupId},#{paymentMonth},#{startPaymentDate},#{deadlinePaymentDate},#{paymentStatus,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
|
- #{expectNum},#{actualNum},#{memo},#{type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},now(),now(),
|
|
|
+ #{expectNum},#{actualNum},#{memo},#{isGiveMusicNetwork},now(),now(),
|
|
|
#{paymentValidStartDate},#{paymentValidEndDate},#{paymentPattern},#{paymentType})
|
|
|
</insert>
|
|
|
<insert id="batchAdd">
|
|
|
@@ -68,8 +68,8 @@
|
|
|
<if test="paymentPattern != null">
|
|
|
payment_pattern_ = #{paymentPattern},
|
|
|
</if>
|
|
|
- <if test="type != null">
|
|
|
- type_ = #{type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
|
+ <if test="isGiveMusicNetwork != null">
|
|
|
+ is_give_music_network_ = #{isGiveMusicNetwork},
|
|
|
</if>
|
|
|
<if test="deadlinePaymentDate != null">
|
|
|
deadline_payment_date_ = #{deadlinePaymentDate},
|
|
|
@@ -109,8 +109,8 @@
|
|
|
<if test="item.paymentPattern != null">
|
|
|
payment_pattern_ = #{item.paymentPattern},
|
|
|
</if>
|
|
|
- <if test="item.type != null">
|
|
|
- type_ = #{item.type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
|
+ <if test="item.isGiveMusicNetwork != null">
|
|
|
+ is_give_music_network_ = #{item.isGiveMusicNetwork},
|
|
|
</if>
|
|
|
<if test="item.deadlinePaymentDate != null">
|
|
|
deadline_payment_date_ = #{item.deadlinePaymentDate},
|