| 
					
				 | 
			
			
				@@ -0,0 +1,392 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<?xml version="1.0" encoding="UTF-8"?> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<mapper namespace="com.kmall.admin.dao.haikong.HaiKongSendOrderInfoRecordDao"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <resultMap type="com.kmall.admin.entity.haikong.HaiKongSendOrderInfoRecordEntity" id="haikongSendOrderInfoRecordMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="id" column="id"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="outerOrderNo" column="outer_order_no"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="payApp" column="pay_app"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="dlytypeCode" column="dlytype_code"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="consigneeName" column="consignee_name"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="consigneeAreaProvince" column="consignee_area_province"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="consigneeAreaCity" column="consignee_area_city"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="consigneeAreaCounty" column="consignee_area_county"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="consigneeAddress" column="consignee_address"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="consigneeZip" column="consignee_zip"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="consigneeTel" column="consignee_tel"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="consigneeEmail" column="consignee_email"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="consigneeMobile" column="consignee_mobile"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="weight" column="weight"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="quantity" column="quantity"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="orderTotal" column="order_total"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="platform" column="platform"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="money" column="money"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="payMode" column="pay_mode"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="request" column="request"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="response" column="response"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="outTradeNo" column="out_trade_no"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="seaportCode" column="seaport_code"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="seaportPlatform" column="seaport_platform"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="identityCard" column="identity_card"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="identityName" column="identity_name"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="identityMobile" column="identity_mobile"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="orderProductInfo" column="order_product_info"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="resendStatus" column="resend_status"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<select id="queryObjectByOuterOrderNo" resultType="com.kmall.admin.entity.haikong.HaiKongSendOrderInfoRecordEntity"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`id`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`outer_order_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`pay_app`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`dlytype_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_province`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_city`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_county`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_address`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_zip`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_tel`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_email`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`weight`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`quantity`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`order_total`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`money`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`pay_mode`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`request`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`response`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`out_trade_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`seaport_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`seaport_platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_card`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`order_product_info`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`resend_status` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		from haikong_send_order_info_record 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		where outer_order_no = #{outerOrderNo} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<select id="queryObject" resultType="com.kmall.admin.entity.haikong.HaiKongSendOrderInfoRecordEntity"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`id`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`outer_order_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`pay_app`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`dlytype_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_province`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_city`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_county`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_address`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_zip`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_tel`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_email`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`weight`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`quantity`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`order_total`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`money`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`pay_mode`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`request`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`response`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`out_trade_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`seaport_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`seaport_platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_card`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`order_product_info`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`resend_status` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		from haikong_send_order_info_record 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		where id = #{id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<select id="queryList" resultType="com.kmall.admin.entity.haikong.HaiKongSendOrderInfoRecordEntity"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`id`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`outer_order_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`pay_app`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`dlytype_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`consignee_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`consignee_area_province`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`consignee_area_city`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`consignee_area_county`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`consignee_address`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`consignee_zip`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`consignee_tel`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`consignee_email`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`consignee_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`weight`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`quantity`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`order_total`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`money`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`pay_mode`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`request`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`response`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`out_trade_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`seaport_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`seaport_platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`identity_card`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`identity_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`identity_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`order_product_info`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    		`resend_status` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		from haikong_send_order_info_record 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		WHERE 1=1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<if test="name != null and name.trim() != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			AND name LIKE concat('%',#{name},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <choose> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <when test="sidx != null and sidx.trim() != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                order by ${sidx} ${order} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </when> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<otherwise> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                order by id desc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			</otherwise> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </choose> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<if test="offset != null and limit != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			limit #{offset}, #{limit} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<select id="queryListByResendStatus" resultType="com.kmall.admin.entity.haikong.HaiKongSendOrderInfoRecordEntity"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`id`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`outer_order_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`pay_app`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`dlytype_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`consignee_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`consignee_area_province`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`consignee_area_city`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`consignee_area_county`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`consignee_address`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`consignee_zip`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`consignee_tel`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`consignee_email`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`consignee_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`weight`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`quantity`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`order_total`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`money`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`pay_mode`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`request`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`response`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`out_trade_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`seaport_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`seaport_platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`identity_card`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`identity_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`identity_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`order_product_info`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		`resend_status` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		from haikong_send_order_info_record 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		WHERE resend_status in ('0', '2') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 	<select id="queryTotal" resultType="int"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		select count(*) from haikong_send_order_info_record 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		WHERE 1=1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <if test="name != null and name.trim() != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            AND name LIKE concat('%',#{name},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<insert id="save" parameterType="com.kmall.admin.entity.haikong.HaiKongSendOrderInfoRecordEntity" useGeneratedKeys="true" keyProperty="id"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		insert into haikong_send_order_info_record( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`outer_order_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`pay_app`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`dlytype_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_province`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_city`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_county`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_address`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_zip`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_tel`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_email`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`weight`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`quantity`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`order_total`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`money`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`pay_mode`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`request`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`response`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`out_trade_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`seaport_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`seaport_platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_card`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`order_product_info`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`resend_status`) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		values( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{outerOrderNo}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{payApp}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{dlytypeCode}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{consigneeName}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{consigneeAreaProvince}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{consigneeAreaCity}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{consigneeAreaCounty}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{consigneeAddress}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{consigneeZip}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{consigneeTel}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{consigneeEmail}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{consigneeMobile}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{weight}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{quantity}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{orderTotal}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{platform}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{money}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{payMode}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{request}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{response}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{outTradeNo}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{seaportCode}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{seaportPlatform}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{identityCard}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{identityName}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{identityMobile}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{orderProductInfo}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{resendStatus}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<insert id="saveBatch"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		insert into haikong_send_order_info_record 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`outer_order_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`pay_app`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`dlytype_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_province`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_city`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_area_county`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_address`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_zip`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_tel`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_email`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`consignee_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`weight`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`quantity`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`order_total`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`money`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`pay_mode`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`request`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`response`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`out_trade_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`seaport_code`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`seaport_platform`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_card`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`identity_mobile`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`order_product_info`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			`resend_status` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		values 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<foreach collection="list" item="item" separator=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.outerOrderNo}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.payApp}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.dlytypeCode}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.consigneeName}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.consigneeAreaProvince}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.consigneeAreaCity}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.consigneeAreaCounty}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.consigneeAddress}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.consigneeZip}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.consigneeTel}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.consigneeEmail}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.consigneeMobile}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.weight}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.quantity}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.orderTotal}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.platform}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.money}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.payMode}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.request}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.response}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.outTradeNo}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.seaportCode}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.seaportPlatform}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.identityCard}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.identityName}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.identityMobile}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.orderProductInfo}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					#{item.resendStatus} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			</foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<update id="update" parameterType="com.kmall.admin.entity.haikong.HaiKongSendOrderInfoRecordEntity"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		update haikong_send_order_info_record  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="outerOrderNo != null">`outer_order_no` = #{outerOrderNo}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="payApp != null">`pay_app` = #{payApp}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="dlytypeCode != null">`dlytype_code` = #{dlytypeCode}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="consigneeName != null">`consignee_name` = #{consigneeName}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="consigneeAreaProvince != null">`consignee_area_province` = #{consigneeAreaProvince}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="consigneeAreaCity != null">`consignee_area_city` = #{consigneeAreaCity}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="consigneeAreaCounty != null">`consignee_area_county` = #{consigneeAreaCounty}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="consigneeAddress != null">`consignee_address` = #{consigneeAddress}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="consigneeZip != null">`consignee_zip` = #{consigneeZip}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="consigneeTel != null">`consignee_tel` = #{consigneeTel}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="consigneeEmail != null">`consignee_email` = #{consigneeEmail}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="consigneeMobile != null">`consignee_mobile` = #{consigneeMobile}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="weight != null">`weight` = #{weight}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="quantity != null">`quantity` = #{quantity}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="orderTotal != null">`order_total` = #{orderTotal}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="platform != null">`platform` = #{platform}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="money != null">`money` = #{money}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="payMode != null">`pay_mode` = #{payMode}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="request != null">`request` = #{request}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="response != null">`response` = #{response}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="outTradeNo != null">`out_trade_no` = #{outTradeNo}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="seaportCode != null">`seaport_code` = #{seaportCode}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="seaportPlatform != null">`seaport_platform` = #{seaportPlatform}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="identityCard != null">`identity_card` = #{identityCard}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="identityName != null">`identity_name` = #{identityName}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="identityMobile != null">`identity_mobile` = #{identityMobile}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="orderProductInfo != null">`order_product_info` = #{orderProductInfo}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="resendStatus != null">`resend_status` = #{resendStatus}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		</set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		where id = #{id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<update id="updateResendStatusBatch"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		update haikong_send_order_info_record 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<trim prefix="set" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			resend_status = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<foreach collection="list" item="item" open="case " close=" end,"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				when id = #{item.id} then #{item.resendStatus} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			</foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			member_sys_order_id = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<foreach collection="list" item="item" open="case " close=" end,"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				when id = #{item.id} then #{item.memberSysOrderId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			</foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		</trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		where id in 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<foreach collection="list" item="item" open="(" separator="," close=")"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{item.id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		</foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<delete id="delete"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		delete from haikong_send_order_info_record where id = #{value} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<delete id="deleteBatch"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		delete from haikong_send_order_info_record where id in  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<foreach item="id" collection="list" open="(" separator="," close=")"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			#{id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		</foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+</mapper> 
			 |