| 
					
				 | 
			
			
				@@ -48,6 +48,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="comment_time" jdbcType="TIMESTAMP" property="commentTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="modify_time" jdbcType="TIMESTAMP" property="modifyTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="platform_type" jdbcType="TIMESTAMP" property="platformType" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="after_sale"  property="afterSale" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="Example_Where_Clause"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <where> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -114,7 +115,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     integration, growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     receiver_city, receiver_region, receiver_detail_address, note, confirm_status, delete_status,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    use_integration, payment_time, delivery_time, receive_time, comment_time, modify_time,cart_ids,platform_type 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    use_integration, payment_time, delivery_time, receive_time, comment_time, modify_time,cart_ids,platform_type,after_sale 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="selectByExample" parameterType="com.yonge.cooleshow.mbg.model.OmsOrderExample" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     select 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -164,7 +165,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       receiver_detail_address, note, confirm_status,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       delete_status, use_integration, payment_time,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       delivery_time, receive_time, comment_time,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      modify_time,cart_ids,platform_type) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      modify_time,cart_ids,platform_type,after_sale) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{payAmount,jdbcType=DECIMAL}, #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL},  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -179,7 +180,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{receiverDetailAddress,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{deleteStatus,jdbcType=INTEGER}, #{useIntegration,jdbcType=INTEGER}, #{paymentTime,jdbcType=TIMESTAMP},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{deliveryTime,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP}, #{commentTime,jdbcType=TIMESTAMP},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{modifyTime,jdbcType=TIMESTAMP},#{cartIds},#{platformType}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{modifyTime,jdbcType=TIMESTAMP},#{cartIds},#{platformType},#{afterSale}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="insertSelective" parameterType="com.yonge.cooleshow.mbg.model.OmsOrder"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -322,6 +323,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="platformType != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         platform_type, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="afterSale != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        after_sale, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="memberId != null"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -459,6 +463,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="platformType != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{platformType}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="afterSale != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{afterSale}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="countByExample" parameterType="com.yonge.cooleshow.mbg.model.OmsOrderExample" resultType="java.lang.Long"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -608,6 +615,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="record.platformType != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         platform_type = #{record.platformType}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.afterSale != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        after_sale = #{record.afterSale}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <if test="_parameter != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <include refid="Update_By_Example_Where_Clause" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -660,6 +670,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       cart_ids = #{record.cartIds}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       platform_type = #{record.platformType}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      after_sale = #{record.afterSale}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       modify_time = #{record.modifyTime,jdbcType=TIMESTAMP} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <if test="_parameter != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <include refid="Update_By_Example_Where_Clause" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -803,6 +814,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="platformType != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         platform_type = #{platformType}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="afterSale != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        after_sale = #{afterSale}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where id = #{id,jdbcType=BIGINT} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -852,6 +866,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       comment_time = #{commentTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       cart_ids = #{cartIds}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       platform_type = #{platformType}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      after_sale = #{afterSale}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       modify_time = #{modifyTime,jdbcType=TIMESTAMP} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where id = #{id,jdbcType=BIGINT} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 |