| 
														
															@@ -16,6 +16,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		<result column="pay_time_" property="payTime" /> 
														 | 
														
														 | 
														
															 		<result column="pay_time_" property="payTime" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		<result column="start_payment_date_" property="startPaymentDate" /> 
														 | 
														
														 | 
														
															 		<result column="start_payment_date_" property="startPaymentDate" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		<result column="deadline_payment_date_" property="deadlinePaymentDate" /> 
														 | 
														
														 | 
														
															 		<result column="deadline_payment_date_" property="deadlinePaymentDate" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		<result column="start_payment_date_mgpc" property="startPaymentDateMgpc" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		<result column="deadline_payment_date_mgpc" property="deadlinePaymentDateMgpc" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		<result column="update_time_" property="updateTime" /> 
														 | 
														
														 | 
														
															 		<result column="update_time_" property="updateTime" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		<result column="create_time_" property="createTime" /> 
														 | 
														
														 | 
														
															 		<result column="create_time_" property="createTime" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		<result column="open_" property="open"/> 
														 | 
														
														 | 
														
															 		<result column="open_" property="open"/> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -46,20 +48,20 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		useGeneratedKeys="true" keyColumn="id" keyProperty="id"> 
														 | 
														
														 | 
														
															 		useGeneratedKeys="true" keyColumn="id" keyProperty="id"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		INSERT INTO music_group_payment_calender_detail 
														 | 
														
														 | 
														
															 		INSERT INTO music_group_payment_calender_detail 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		(id_,music_group_payment_calender_id_,user_id_,expect_amount_,actual_amount_,payment_status_, 
														 | 
														
														 | 
														
															 		(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_) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		user_status_,pay_time_,update_time_,create_time_,start_payment_date_,deadline_payment_date_) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		VALUES(#{id},#{musicGroupPaymentCalenderId},#{userId},#{expectAmount},#{actualAmount},#{paymentStatus,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, 
														 | 
														
														 | 
														
															 		VALUES(#{id},#{musicGroupPaymentCalenderId},#{userId},#{expectAmount},#{actualAmount},#{paymentStatus,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		#{userStatus},#{payTime},#{updateTime},#{createTime},#{open},#{startPaymentDate},#{deadlinePaymentDate}) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		#{userStatus},#{payTime},#{updateTime},#{createTime},#{startPaymentDate},#{deadlinePaymentDate}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	</insert> 
														 | 
														
														 | 
														
															 	</insert> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <insert id="batchInsert" parameterType="com.ym.mec.biz.dal.entity.MusicGroupPaymentCalenderDetail"> 
														 | 
														
														 | 
														
															     <insert id="batchInsert" parameterType="com.ym.mec.biz.dal.entity.MusicGroupPaymentCalenderDetail"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         INSERT INTO music_group_payment_calender_detail 
														 | 
														
														 | 
														
															         INSERT INTO music_group_payment_calender_detail 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		(id_,music_group_payment_calender_id_,user_id_,expect_amount_,actual_amount_, 
														 | 
														
														 | 
														
															 		(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_) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		payment_status_,user_status_,pay_time_,update_time_,create_time_,start_payment_date_,deadline_payment_date_) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		VALUES 
														 | 
														
														 | 
														
															 		VALUES 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		<foreach collection="list" item="item" separator=","> 
														 | 
														
														 | 
														
															 		<foreach collection="list" item="item" separator=","> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             (#{item.id},#{item.musicGroupPaymentCalenderId},#{item.userId},#{item.expectAmount}, 
														 | 
														
														 | 
														
															             (#{item.id},#{item.musicGroupPaymentCalenderId},#{item.userId},#{item.expectAmount}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             #{item.actualAmount},#{item.paymentStatus,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},#{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}) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            #{item.updateTime},#{item.createTime},#{item.startPaymentDate},#{item.deadlinePaymentDate}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </foreach> 
														 | 
														
														 | 
														
															         </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </insert> 
														 | 
														
														 | 
														
															     </insert> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -171,7 +173,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <!-- 分页查询 --> 
														 | 
														
														 | 
														
															     <!-- 分页查询 --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	<select id="queryPage" resultMap="MusicGroupPaymentCalenderDetail" parameterType="map"> 
														 | 
														
														 | 
														
															 	<select id="queryPage" resultMap="MusicGroupPaymentCalenderDetail" parameterType="map"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		SELECT mgpcd.*,su.username_,su.phone_,st.name_ subject_names_,sr.music_group_status_,mgpc.start_payment_date_,mgpc.deadline_payment_date_ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		SELECT mgpcd.*,su.username_,su.phone_,st.name_ subject_names_,sr.music_group_status_,mgpc.start_payment_date_ start_payment_date_mgpc,mgpc.deadline_payment_date_ deadline_payment_date_mgpc 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		FROM music_group_payment_calender_detail mgpcd 
														 | 
														
														 | 
														
															 		FROM music_group_payment_calender_detail mgpcd 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		LEFT JOIN sys_user su ON su.id_ = mgpcd.user_id_ 
														 | 
														
														 | 
														
															 		LEFT JOIN sys_user su ON su.id_ = mgpcd.user_id_ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		LEFT JOIN student_registration sr ON sr.user_id_ = mgpcd.user_id_ 
														 | 
														
														 | 
														
															 		LEFT JOIN student_registration sr ON sr.user_id_ = mgpcd.user_id_ 
														 |