|  | @@ -105,22 +105,21 @@
 | 
											
												
													
														|  |      </if>
 |  |      </if>
 | 
											
												
													
														|  |    </delete>
 |  |    </delete>
 | 
											
												
													
														|  |    <insert id="insert" parameterType="com.hwrj.cloud.portal.model.OmsOrderPay">
 |  |    <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>
 | 
											
												
													
														|  |    <insert id="insertSelective" parameterType="com.hwrj.cloud.portal.model.OmsOrderPay">
 |  |    <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
 |  |      insert into oms_order_pay
 | 
											
												
													
														|  |      <trim prefix="(" suffix=")" suffixOverrides=",">
 |  |      <trim prefix="(" suffix=")" suffixOverrides=",">
 | 
											
												
													
														|  | 
 |  | +      <if test="id != null">
 | 
											
												
													
														|  | 
 |  | +        id,
 | 
											
												
													
														|  | 
 |  | +      </if>
 | 
											
												
													
														|  |        <if test="orderId != null">
 |  |        <if test="orderId != null">
 | 
											
												
													
														|  |          order_id,
 |  |          order_id,
 | 
											
												
													
														|  |        </if>
 |  |        </if>
 | 
											
										
											
												
													
														|  | @@ -147,6 +146,9 @@
 | 
											
												
													
														|  |        </if>
 |  |        </if>
 | 
											
												
													
														|  |      </trim>
 |  |      </trim>
 | 
											
												
													
														|  |      <trim prefix="values (" suffix=")" suffixOverrides=",">
 |  |      <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
											
												
													
														|  | 
 |  | +      <if test="id != null">
 | 
											
												
													
														|  | 
 |  | +        #{id,jdbcType=VARCHAR},
 | 
											
												
													
														|  | 
 |  | +      </if>
 | 
											
												
													
														|  |        <if test="orderId != null">
 |  |        <if test="orderId != null">
 | 
											
												
													
														|  |          #{orderId,jdbcType=BIGINT},
 |  |          #{orderId,jdbcType=BIGINT},
 | 
											
												
													
														|  |        </if>
 |  |        </if>
 |