|
@@ -6,7 +6,7 @@
|
|
|
|
|
|
<resultMap type="DoumuProductInfo" id="DoumuProductInfoResult">
|
|
|
<result property="productId" column="product_id" />
|
|
|
- <result property="openid" column="openid" />
|
|
|
+ <result property="openId" column="open_id" />
|
|
|
<result property="orderNumber" column="order_number" />
|
|
|
<result property="name" column="name" />
|
|
|
<result property="deliveryType" column="delivery_type" />
|
|
@@ -40,7 +40,7 @@
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectDoumuProductInfoVo">
|
|
|
- select product_id,openid,order_number, name, delivery_type, phonenumber,contact_number,quantity,province_id,province,city_id,city,county_id,county,lon,lat,status, address,
|
|
|
+ select product_id,open_id,order_number, name, delivery_type, phonenumber,contact_number,quantity,province_id,province,city_id,city,county_id,county,lon,lat,status, address,
|
|
|
flow_type,goods_name,total_price, mail_no,hardware_num,closed_time, create_by, create_time, update_by, update_time, remark from doumu_product_info
|
|
|
</sql>
|
|
|
|
|
@@ -81,7 +81,7 @@
|
|
|
<insert id="insertDoumuProductInfo" parameterType="DoumuProductInfo" useGeneratedKeys="true" keyProperty="productId">
|
|
|
insert into doumu_product_info
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
- <if test="openid != null "> openid,</if>
|
|
|
+ <if test="openId != null "> open_id,</if>
|
|
|
<if test="orderNumber != null "> order_number,</if>
|
|
|
<if test="name != null and name != ''">name,</if>
|
|
|
<if test="deliveryType != null">delivery_type,</if>
|
|
@@ -111,7 +111,7 @@
|
|
|
<if test="remark != null">remark,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
- <if test="openid != null "> #{openid},</if>
|
|
|
+ <if test="openId != null "> #{openId},</if>
|
|
|
<if test="orderNumber != null ">#{orderNumber},</if>
|
|
|
<if test="name != null and name != ''">#{name},</if>
|
|
|
<if test="deliveryType != null">#{deliveryType},</if>
|
|
@@ -145,7 +145,7 @@
|
|
|
<update id="updateDoumuProductInfo" parameterType="DoumuProductInfo">
|
|
|
update doumu_product_info
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
- <if test="openid != null "> openid = #{openid},</if>
|
|
|
+ <if test="openId != null "> open_id = #{openId},</if>
|
|
|
<if test="orderNumber != null and orderNumber != ''"> order_number = #{orderNumber},</if>
|
|
|
<if test="name != null and name != ''">name = #{name},</if>
|
|
|
<if test="deliveryType != null">delivery_type = #{deliveryType},</if>
|