| 
					
				 | 
			
			
				@@ -33,6 +33,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result column="class_group_id_" property="classGroupId"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result column="pay_time_" property="payTime"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result column="version_" property="version"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result column="receive_status_" property="receiveStatus"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <resultMap type="com.ym.mec.biz.dal.entity.StudentPaymentOrder" extends="StudentPaymentOrder" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -88,7 +89,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          per_amount_, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          balance_payment_amount_, remit_fee_, course_remit_fee_, trans_no_, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          status_, memo_, create_time_, update_time_, payment_channel_, payment_business_channel_, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         payment_account_no_, mer_nos_, order_no_, music_group_id_, class_group_id_, pay_time_) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         payment_account_no_, mer_nos_, order_no_, music_group_id_, class_group_id_, pay_time_,receive_status_) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         VALUES (#{id}, #{groupType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 #{userId}, #{organId}, #{routingOrganId}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 #{type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -97,13 +98,16 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, #{memo}, now(), now(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 #{paymentChannel}, #{paymentBusinessChannel}, #{paymentAccountNo}, #{merNos}, #{orderNo}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 #{musicGroupId}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                #{classGroupId}, #{payTime}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                #{classGroupId}, #{payTime},#{receiveStatus}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <!-- 根据主键查询一条记录 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <update id="update" parameterType="com.ym.mec.biz.dal.entity.StudentPaymentOrder"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         UPDATE student_payment_order 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="receiveStatus != null and receiveStatus != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                receive_status_ = #{receiveStatus}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="status != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 status_ = #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </if> 
			 |