| 
					
				 | 
			
			
				@@ -6,6 +6,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="member_id" jdbcType="BIGINT" property="memberId" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="coupon_id" jdbcType="BIGINT" property="couponId" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="order_sn" jdbcType="VARCHAR" property="orderSn" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="cart_ids" jdbcType="VARCHAR" property="cartIds" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="member_username" jdbcType="VARCHAR" property="memberUsername" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="total_amount" jdbcType="DECIMAL" property="totalAmount" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -112,7 +113,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 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    use_integration, payment_time, delivery_time, receive_time, comment_time, modify_time,cart_ids 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="selectByExample" parameterType="com.yonge.cooleshow.mbg.model.OmsOrderExample" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     select 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -162,7 +163,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       receiver_detail_address, note, confirm_status,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       delete_status, use_integration, payment_time,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       delivery_time, receive_time, comment_time,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      modify_time) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      modify_time,cart_ids) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     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},  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -177,7 +178,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}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{modifyTime,jdbcType=TIMESTAMP},#{cartIds}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="insertSelective" parameterType="com.yonge.cooleshow.mbg.model.OmsOrder"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -314,6 +315,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="modifyTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         modify_time, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="cartIds != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        cart_ids, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="memberId != null"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -445,6 +449,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="modifyTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{modifyTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="cartIds != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{cartIds}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="countByExample" parameterType="com.yonge.cooleshow.mbg.model.OmsOrderExample" resultType="java.lang.Long"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -588,6 +595,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="record.modifyTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.cartIds != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        cart_ids = #{record.cartIds}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <if test="_parameter != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <include refid="Update_By_Example_Where_Clause" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -638,6 +648,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      cart_ids = #{record.cartIds}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       modify_time = #{record.modifyTime,jdbcType=TIMESTAMP} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <if test="_parameter != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <include refid="Update_By_Example_Where_Clause" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -775,6 +786,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="modifyTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         modify_time = #{modifyTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="cartIds != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        cart_ids = #{cartIds,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where id = #{id,jdbcType=BIGINT} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -822,6 +836,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       delivery_time = #{deliveryTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       receive_time = #{receiveTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       comment_time = #{commentTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      cart_ids = #{cartIds}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       modify_time = #{modifyTime,jdbcType=TIMESTAMP} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where id = #{id,jdbcType=BIGINT} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 |