|  | @@ -105,22 +105,21 @@
 | 
	
		
			
				|  |  |      </if>
 | 
	
		
			
				|  |  |    </delete>
 | 
	
		
			
				|  |  |    <insert id="insert" parameterType="com.hwrj.cloud.portal.model.OmsOrderPay">
 | 
	
		
			
				|  |  | -    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.String">
 | 
	
		
			
				|  |  | -      SELECT LAST_INSERT_ID()
 | 
	
		
			
				|  |  | -    </selectKey>
 | 
	
		
			
				|  |  | -    insert into oms_order_pay (order_id, pay_money, create_id, 
 | 
	
		
			
				|  |  | -      create_user, create_time, update_time, 
 | 
	
		
			
				|  |  | -      status, pay_type)
 | 
	
		
			
				|  |  | -    values (#{orderId,jdbcType=BIGINT}, #{payMoney,jdbcType=DECIMAL}, #{createId,jdbcType=BIGINT}, 
 | 
	
		
			
				|  |  | -      #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, 
 | 
	
		
			
				|  |  | -      #{status,jdbcType=INTEGER}, #{payType,jdbcType=INTEGER})
 | 
	
		
			
				|  |  | +    insert into oms_order_pay (id, order_id, pay_money, 
 | 
	
		
			
				|  |  | +      create_id, create_user, create_time, 
 | 
	
		
			
				|  |  | +      update_time, status, pay_type
 | 
	
		
			
				|  |  | +      )
 | 
	
		
			
				|  |  | +    values (#{id,jdbcType=VARCHAR}, #{orderId,jdbcType=BIGINT}, #{payMoney,jdbcType=DECIMAL}, 
 | 
	
		
			
				|  |  | +      #{createId,jdbcType=BIGINT}, #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, 
 | 
	
		
			
				|  |  | +      #{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{payType,jdbcType=INTEGER}
 | 
	
		
			
				|  |  | +      )
 | 
	
		
			
				|  |  |    </insert>
 | 
	
		
			
				|  |  |    <insert id="insertSelective" parameterType="com.hwrj.cloud.portal.model.OmsOrderPay">
 | 
	
		
			
				|  |  | -    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.String">
 | 
	
		
			
				|  |  | -      SELECT LAST_INSERT_ID()
 | 
	
		
			
				|  |  | -    </selectKey>
 | 
	
		
			
				|  |  |      insert into oms_order_pay
 | 
	
		
			
				|  |  |      <trim prefix="(" suffix=")" suffixOverrides=",">
 | 
	
		
			
				|  |  | +      <if test="id != null">
 | 
	
		
			
				|  |  | +        id,
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |        <if test="orderId != null">
 | 
	
		
			
				|  |  |          order_id,
 | 
	
		
			
				|  |  |        </if>
 | 
	
	
		
			
				|  | @@ -147,6 +146,9 @@
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  |      </trim>
 | 
	
		
			
				|  |  |      <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
	
		
			
				|  |  | +      <if test="id != null">
 | 
	
		
			
				|  |  | +        #{id,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |        <if test="orderId != null">
 | 
	
		
			
				|  |  |          #{orderId,jdbcType=BIGINT},
 | 
	
		
			
				|  |  |        </if>
 |