|  | @@ -29,6 +29,7 @@
 | 
	
		
			
				|  |  |      <result column="receive_man" jdbcType="VARCHAR" property="receiveMan" />
 | 
	
		
			
				|  |  |      <result column="receive_time" jdbcType="TIMESTAMP" property="receiveTime" />
 | 
	
		
			
				|  |  |      <result column="receive_note" jdbcType="VARCHAR" property="receiveNote" />
 | 
	
		
			
				|  |  | +    <result column="delivery_sn" jdbcType="VARCHAR" property="deliverySn" />
 | 
	
		
			
				|  |  |    </resultMap>
 | 
	
		
			
				|  |  |    <sql id="Example_Where_Clause">
 | 
	
		
			
				|  |  |      <where>
 | 
	
	
		
			
				|  | @@ -92,7 +93,7 @@
 | 
	
		
			
				|  |  |      id, order_id, company_address_id, product_id, order_sn, create_time, member_username, 
 | 
	
		
			
				|  |  |      return_amount, return_name, return_phone, status, handle_time, product_pic, product_name, 
 | 
	
		
			
				|  |  |      product_brand, product_attr, product_count, product_price, product_real_price, reason, 
 | 
	
		
			
				|  |  | -    description, proof_pics, handle_note, handle_man, receive_man, receive_time, receive_note
 | 
	
		
			
				|  |  | +    description, proof_pics, handle_note, handle_man, receive_man, receive_time, receive_note,delivery_sn
 | 
	
		
			
				|  |  |    </sql>
 | 
	
		
			
				|  |  |    <select id="selectByExample" parameterType="com.yonge.cooleshow.mbg.model.OmsOrderReturnApplyExample" resultMap="BaseResultMap">
 | 
	
		
			
				|  |  |      select
 | 
	
	
		
			
				|  | @@ -136,7 +137,7 @@
 | 
	
		
			
				|  |  |        product_count, product_price, product_real_price, 
 | 
	
		
			
				|  |  |        reason, description, proof_pics, 
 | 
	
		
			
				|  |  |        handle_note, handle_man, receive_man, 
 | 
	
		
			
				|  |  | -      receive_time, receive_note)
 | 
	
		
			
				|  |  | +      receive_time, receive_note,delivery_sn)
 | 
	
		
			
				|  |  |      values (#{orderId,jdbcType=BIGINT}, #{companyAddressId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, 
 | 
	
		
			
				|  |  |        #{orderSn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, 
 | 
	
		
			
				|  |  |        #{returnAmount,jdbcType=DECIMAL}, #{returnName,jdbcType=VARCHAR}, #{returnPhone,jdbcType=VARCHAR}, 
 | 
	
	
		
			
				|  | @@ -145,7 +146,7 @@
 | 
	
		
			
				|  |  |        #{productCount,jdbcType=INTEGER}, #{productPrice,jdbcType=DECIMAL}, #{productRealPrice,jdbcType=DECIMAL}, 
 | 
	
		
			
				|  |  |        #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{proofPics,jdbcType=VARCHAR}, 
 | 
	
		
			
				|  |  |        #{handleNote,jdbcType=VARCHAR}, #{handleMan,jdbcType=VARCHAR}, #{receiveMan,jdbcType=VARCHAR}, 
 | 
	
		
			
				|  |  | -      #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR})
 | 
	
		
			
				|  |  | +      #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR},#{deliverySn})
 | 
	
		
			
				|  |  |    </insert>
 | 
	
		
			
				|  |  |    <insert id="insertSelective" parameterType="com.yonge.cooleshow.mbg.model.OmsOrderReturnApply">
 | 
	
		
			
				|  |  |      <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
 | 
	
	
		
			
				|  | @@ -231,6 +232,9 @@
 | 
	
		
			
				|  |  |        <if test="receiveNote != null">
 | 
	
		
			
				|  |  |          receive_note,
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="deliverySn != null">
 | 
	
		
			
				|  |  | +        delivery_sn,
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |      </trim>
 | 
	
		
			
				|  |  |      <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
	
		
			
				|  |  |        <if test="orderId != null">
 | 
	
	
		
			
				|  | @@ -311,6 +315,9 @@
 | 
	
		
			
				|  |  |        <if test="receiveNote != null">
 | 
	
		
			
				|  |  |          #{receiveNote,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="deliverySn != null">
 | 
	
		
			
				|  |  | +          #{deliverySn,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |      </trim>
 | 
	
		
			
				|  |  |    </insert>
 | 
	
		
			
				|  |  |    <select id="countByExample" parameterType="com.yonge.cooleshow.mbg.model.OmsOrderReturnApplyExample" resultType="java.lang.Long">
 | 
	
	
		
			
				|  | @@ -403,6 +410,9 @@
 | 
	
		
			
				|  |  |        <if test="record.receiveNote != null">
 | 
	
		
			
				|  |  |          receive_note = #{record.receiveNote,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="record.deliverySn != null">
 | 
	
		
			
				|  |  | +        delivery_sn = #{record.deliverySn,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |      </set>
 | 
	
		
			
				|  |  |      <if test="_parameter != null">
 | 
	
		
			
				|  |  |        <include refid="Update_By_Example_Where_Clause" />
 | 
	
	
		
			
				|  | @@ -436,7 +446,8 @@
 | 
	
		
			
				|  |  |        handle_man = #{record.handleMan,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        receive_man = #{record.receiveMan,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        receive_time = #{record.receiveTime,jdbcType=TIMESTAMP},
 | 
	
		
			
				|  |  | -      receive_note = #{record.receiveNote,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  | +      receive_note = #{record.receiveNote,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +      delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  |      <if test="_parameter != null">
 | 
	
		
			
				|  |  |        <include refid="Update_By_Example_Where_Clause" />
 | 
	
		
			
				|  |  |      </if>
 | 
	
	
		
			
				|  | @@ -522,6 +533,9 @@
 | 
	
		
			
				|  |  |        <if test="receiveNote != null">
 | 
	
		
			
				|  |  |          receive_note = #{receiveNote,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="deliverySn != null">
 | 
	
		
			
				|  |  | +        delivery_sn = #{deliverySn,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |      </set>
 | 
	
		
			
				|  |  |      where id = #{id,jdbcType=BIGINT}
 | 
	
		
			
				|  |  |    </update>
 | 
	
	
		
			
				|  | @@ -552,7 +566,8 @@
 | 
	
		
			
				|  |  |        handle_man = #{handleMan,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        receive_man = #{receiveMan,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        receive_time = #{receiveTime,jdbcType=TIMESTAMP},
 | 
	
		
			
				|  |  | -      receive_note = #{receiveNote,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  | +      receive_note = #{receiveNote,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +      delivery_sn = #{deliverySn,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  |      where id = #{id,jdbcType=BIGINT}
 | 
	
		
			
				|  |  |    </update>
 | 
	
		
			
				|  |  |  </mapper>
 |