|  | @@ -10,7 +10,7 @@
 | 
	
		
			
				|  |  |  		<result column="user_id_" property="userId" />
 | 
	
		
			
				|  |  |  		<result column="expect_amount_" property="expectAmount" />
 | 
	
		
			
				|  |  |  		<result column="actual_amount_" property="actualAmount" />
 | 
	
		
			
				|  |  | -		<result column="payment_status_" property="paymentStatus" />
 | 
	
		
			
				|  |  | +		<result column="payment_status_" property="paymentStatus" typeHandler="com.ym.mec.common.dal.CustomEnumTypeHandler"/>
 | 
	
		
			
				|  |  |  		<result column="user_status_" property="userStatus" />
 | 
	
		
			
				|  |  |  		<result column="music_group_id_" property="musicGroupId" />
 | 
	
		
			
				|  |  |  		<result column="pay_time_" property="payTime" />
 | 
	
	
		
			
				|  | @@ -46,7 +46,7 @@
 | 
	
		
			
				|  |  |  		INSERT INTO music_group_payment_calender_detail
 | 
	
		
			
				|  |  |  		(id_,music_group_payment_calender_id_,user_id_,expect_amount_,actual_amount_,payment_status_,
 | 
	
		
			
				|  |  |  		user_status_,pay_time_,update_time_,create_time_,open_,start_payment_date_,deadline_payment_date_)
 | 
	
		
			
				|  |  | -		VALUES(#{id},#{musicGroupPaymentCalenderId},#{userId},#{expectAmount},#{actualAmount},#{paymentStatus},
 | 
	
		
			
				|  |  | +		VALUES(#{id},#{musicGroupPaymentCalenderId},#{userId},#{expectAmount},#{actualAmount},#{paymentStatus,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
 | 
	
		
			
				|  |  |  		#{userStatus},#{payTime},#{updateTime},#{createTime},#{open},#{startPaymentDate},#{deadlinePaymentDate})
 | 
	
		
			
				|  |  |  	</insert>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -57,7 +57,7 @@
 | 
	
		
			
				|  |  |  		VALUES
 | 
	
		
			
				|  |  |  		<foreach collection="list" item="item" separator=",">
 | 
	
		
			
				|  |  |              (#{item.id},#{item.musicGroupPaymentCalenderId},#{item.userId},#{item.expectAmount},
 | 
	
		
			
				|  |  | -            #{item.actualAmount},#{item.paymentStatus},#{item.userStatus},#{item.payTime},
 | 
	
		
			
				|  |  | +            #{item.actualAmount},#{item.paymentStatus,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},#{item.userStatus},#{item.payTime},
 | 
	
		
			
				|  |  |              #{item.updateTime},#{item.createTime},#{item.open},#{item.startPaymentDate},#{item.deadlinePaymentDate})
 | 
	
		
			
				|  |  |          </foreach>
 | 
	
		
			
				|  |  |      </insert>
 | 
	
	
		
			
				|  | @@ -83,7 +83,7 @@
 | 
	
		
			
				|  |  |  				user_status_ = #{userStatus},
 | 
	
		
			
				|  |  |  			</if>
 | 
	
		
			
				|  |  |  			<if test="paymentStatus != null">
 | 
	
		
			
				|  |  | -				payment_status_ = #{paymentStatus},
 | 
	
		
			
				|  |  | +				payment_status_ = #{paymentStatus,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
 | 
	
		
			
				|  |  |  			</if>
 | 
	
		
			
				|  |  |  			<if test="expectAmount != null">
 | 
	
		
			
				|  |  |  				expect_amount_ = #{expectAmount},
 | 
	
	
		
			
				|  | @@ -123,7 +123,7 @@
 | 
	
		
			
				|  |  |  					user_status_ = #{item.userStatus},
 | 
	
		
			
				|  |  |  				</if>
 | 
	
		
			
				|  |  |  				<if test="item.paymentStatus != null">
 | 
	
		
			
				|  |  | -					payment_status_ = #{item.paymentStatus},
 | 
	
		
			
				|  |  | +					payment_status_ = #{item.paymentStatus,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
 | 
	
		
			
				|  |  |  				</if>
 | 
	
		
			
				|  |  |  				<if test="item.expectAmount != null">
 | 
	
		
			
				|  |  |  					expect_amount_ = #{item.expectAmount},
 | 
	
	
		
			
				|  | @@ -211,7 +211,10 @@
 | 
	
		
			
				|  |  |  		</where>
 | 
	
		
			
				|  |  |  	</select>
 | 
	
		
			
				|  |  |  	<select id="queryListByIds" resultMap="MusicGroupPaymentCalenderDetail">
 | 
	
		
			
				|  |  | -		SELECT * FROM music_group_payment_calender_detail WHERE FIND_IN_SET(id_,#{ids})
 | 
	
		
			
				|  |  | +		SELECT mgpcd.*,mgpc.music_group_id_ FROM music_group_payment_calender_detail mgpcd
 | 
	
		
			
				|  |  | +		LEFT JOIN music_group_payment_calender mgpc ON mgpc.id_ = mgpcd.music_group_payment_calender_id_
 | 
	
		
			
				|  |  | +		WHERE FIND_IN_SET(mgpcd.id_,#{ids})
 | 
	
		
			
				|  |  | +		GROUP BY mgpcd.id_
 | 
	
		
			
				|  |  |  	</select>
 | 
	
		
			
				|  |  |  	
 | 
	
		
			
				|  |  |  	<select id="queryByCalenderId" resultMap="MusicGroupPaymentCalenderDetail">
 |