|  | @@ -221,4 +221,24 @@
 | 
	
		
			
				|  |  |          where order_no_ = #{orderNo}
 | 
	
		
			
				|  |  |      </delete>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    <!-- 向数据库增加一条记录 -->
 | 
	
		
			
				|  |  | +    <insert id="insertOrder" parameterType="com.ym.mec.biz.dal.entity.StudentPaymentOrder" useGeneratedKeys="true"
 | 
	
		
			
				|  |  | +            keyColumn="id" keyProperty="id">
 | 
	
		
			
				|  |  | +        INSERT INTO student_payment_order
 | 
	
		
			
				|  |  | +        (id_, group_type_, user_id_, organ_id_, routing_organ_id_, type_, expect_amount_, actual_amount_, com_amount_,
 | 
	
		
			
				|  |  | +        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_)
 | 
	
		
			
				|  |  | +        VALUES (#{id}, #{groupType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
 | 
	
		
			
				|  |  | +        #{userId}, #{organId}, #{routingOrganId},
 | 
	
		
			
				|  |  | +        #{type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
 | 
	
		
			
				|  |  | +        #{expectAmount}, #{actualAmount}, #{comAmount}, #{perAmount}, #{balancePaymentAmount},
 | 
	
		
			
				|  |  | +        #{remitFee}, #{courseRemitFee}, #{transNo},
 | 
	
		
			
				|  |  | +        #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, #{memo}, #{createTime}, now(),
 | 
	
		
			
				|  |  | +        #{paymentChannel}, #{paymentBusinessChannel}, #{paymentAccountNo}, #{merNos}, #{orderNo},
 | 
	
		
			
				|  |  | +        #{musicGroupId},
 | 
	
		
			
				|  |  | +        #{classGroupId}, #{payTime})
 | 
	
		
			
				|  |  | +    </insert>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  </mapper>
 |