|  | @@ -2,7 +2,7 @@
 | 
	
		
			
				|  |  |  <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 | 
	
		
			
				|  |  |  <mapper namespace="com.hwrj.cloud.portal.mapper.OmsOrderPayMapper">
 | 
	
		
			
				|  |  |    <resultMap id="BaseResultMap" type="com.hwrj.cloud.portal.model.OmsOrderPay">
 | 
	
		
			
				|  |  | -    <id column="id" jdbcType="BIGINT" property="id" />
 | 
	
		
			
				|  |  | +    <id column="id" jdbcType="VARCHAR" property="id" />
 | 
	
		
			
				|  |  |      <result column="order_id" jdbcType="BIGINT" property="orderId" />
 | 
	
		
			
				|  |  |      <result column="pay_money" jdbcType="DECIMAL" property="payMoney" />
 | 
	
		
			
				|  |  |      <result column="create_id" jdbcType="BIGINT" property="createId" />
 | 
	
	
		
			
				|  | @@ -88,15 +88,15 @@
 | 
	
		
			
				|  |  |        order by ${orderByClause}
 | 
	
		
			
				|  |  |      </if>
 | 
	
		
			
				|  |  |    </select>
 | 
	
		
			
				|  |  | -  <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
 | 
	
		
			
				|  |  | +  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
 | 
	
		
			
				|  |  |      select 
 | 
	
		
			
				|  |  |      <include refid="Base_Column_List" />
 | 
	
		
			
				|  |  |      from oms_order_pay
 | 
	
		
			
				|  |  | -    where id = #{id,jdbcType=BIGINT}
 | 
	
		
			
				|  |  | +    where id = #{id,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  |    </select>
 | 
	
		
			
				|  |  | -  <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
 | 
	
		
			
				|  |  | +  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
 | 
	
		
			
				|  |  |      delete from oms_order_pay
 | 
	
		
			
				|  |  | -    where id = #{id,jdbcType=BIGINT}
 | 
	
		
			
				|  |  | +    where id = #{id,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  |    </delete>
 | 
	
		
			
				|  |  |    <delete id="deleteByExample" parameterType="com.hwrj.cloud.portal.model.OmsOrderPayExample">
 | 
	
		
			
				|  |  |      delete from oms_order_pay
 | 
	
	
		
			
				|  | @@ -105,7 +105,7 @@
 | 
	
		
			
				|  |  |      </if>
 | 
	
		
			
				|  |  |    </delete>
 | 
	
		
			
				|  |  |    <insert id="insert" parameterType="com.hwrj.cloud.portal.model.OmsOrderPay">
 | 
	
		
			
				|  |  | -    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
 | 
	
		
			
				|  |  | +    <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, 
 | 
	
	
		
			
				|  | @@ -116,7 +116,7 @@
 | 
	
		
			
				|  |  |        #{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.Long">
 | 
	
		
			
				|  |  | +    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.String">
 | 
	
		
			
				|  |  |        SELECT LAST_INSERT_ID()
 | 
	
		
			
				|  |  |      </selectKey>
 | 
	
		
			
				|  |  |      insert into oms_order_pay
 | 
	
	
		
			
				|  | @@ -183,7 +183,7 @@
 | 
	
		
			
				|  |  |      update oms_order_pay
 | 
	
		
			
				|  |  |      <set>
 | 
	
		
			
				|  |  |        <if test="record.id != null">
 | 
	
		
			
				|  |  | -        id = #{record.id,jdbcType=BIGINT},
 | 
	
		
			
				|  |  | +        id = #{record.id,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  |        <if test="record.orderId != null">
 | 
	
		
			
				|  |  |          order_id = #{record.orderId,jdbcType=BIGINT},
 | 
	
	
		
			
				|  | @@ -216,7 +216,7 @@
 | 
	
		
			
				|  |  |    </update>
 | 
	
		
			
				|  |  |    <update id="updateByExample" parameterType="map">
 | 
	
		
			
				|  |  |      update oms_order_pay
 | 
	
		
			
				|  |  | -    set id = #{record.id,jdbcType=BIGINT},
 | 
	
		
			
				|  |  | +    set id = #{record.id,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        order_id = #{record.orderId,jdbcType=BIGINT},
 | 
	
		
			
				|  |  |        pay_money = #{record.payMoney,jdbcType=DECIMAL},
 | 
	
		
			
				|  |  |        create_id = #{record.createId,jdbcType=BIGINT},
 | 
	
	
		
			
				|  | @@ -257,7 +257,7 @@
 | 
	
		
			
				|  |  |          pay_type = #{payType,jdbcType=INTEGER},
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  |      </set>
 | 
	
		
			
				|  |  | -    where id = #{id,jdbcType=BIGINT}
 | 
	
		
			
				|  |  | +    where id = #{id,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  |    </update>
 | 
	
		
			
				|  |  |    <update id="updateByPrimaryKey" parameterType="com.hwrj.cloud.portal.model.OmsOrderPay">
 | 
	
		
			
				|  |  |      update oms_order_pay
 | 
	
	
		
			
				|  | @@ -269,6 +269,6 @@
 | 
	
		
			
				|  |  |        update_time = #{updateTime,jdbcType=TIMESTAMP},
 | 
	
		
			
				|  |  |        status = #{status,jdbcType=INTEGER},
 | 
	
		
			
				|  |  |        pay_type = #{payType,jdbcType=INTEGER}
 | 
	
		
			
				|  |  | -    where id = #{id,jdbcType=BIGINT}
 | 
	
		
			
				|  |  | +    where id = #{id,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  |    </update>
 | 
	
		
			
				|  |  |  </mapper>
 |