CusWaybillMapper.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
  3. <mapper namespace="com.emato.ccnet.wx.dao.mapper.ccnet.CusWaybillMapper" >
  4. <resultMap id="BaseResultMap" type="com.emato.ccnet.wx.dao.entity.ccnet.CusWaybill" >
  5. <id column="cus_waybill_sn" property="cusWaybillSn" jdbcType="VARCHAR" />
  6. <result column="merch_order_id" property="merchOrderId" jdbcType="VARCHAR" />
  7. <result column="merch_sn" property="merchSn" jdbcType="VARCHAR" />
  8. <result column="merch_name" property="merchName" jdbcType="VARCHAR" />
  9. <result column="plat_sn" property="platSn" jdbcType="VARCHAR" />
  10. <result column="plat_name" property="platName" jdbcType="VARCHAR" />
  11. <result column="third_party_merch_code" property="thirdPartyMerchCode" jdbcType="VARCHAR" />
  12. <result column="third_party_merch_name" property="thirdPartyMerchName" jdbcType="VARCHAR" />
  13. <result column="place_orderl_time" property="placeOrderlTime" jdbcType="TIMESTAMP" />
  14. <result column="auto_send" property="autoSend" jdbcType="CHAR" />
  15. <result column="buyer_bill_time" property="buyerBillTime" jdbcType="TIMESTAMP" />
  16. <result column="buyer_id_type" property="buyerIdType" jdbcType="VARCHAR" />
  17. <result column="buyer_id_code" property="buyerIdCode" jdbcType="VARCHAR" />
  18. <result column="buyer_name" property="buyerName" jdbcType="VARCHAR" />
  19. <result column="buyer_tel" property="buyerTel" jdbcType="VARCHAR" />
  20. <result column="consignee_id_type" property="consigneeIdType" jdbcType="VARCHAR" />
  21. <result column="consignee_id_code" property="consigneeIdCode" jdbcType="VARCHAR" />
  22. <result column="consignee_name" property="consigneeName" jdbcType="VARCHAR" />
  23. <result column="consignee_mob" property="consigneeMob" jdbcType="VARCHAR" />
  24. <result column="consignee_tel" property="consigneeTel" jdbcType="VARCHAR" />
  25. <result column="consignee_country_code" property="consigneeCountryCode" jdbcType="VARCHAR" />
  26. <result column="consignee_province_code" property="consigneeProvinceCode" jdbcType="VARCHAR" />
  27. <result column="consignee_province" property="consigneeProvince" jdbcType="VARCHAR" />
  28. <result column="consignee_city_code" property="consigneeCityCode" jdbcType="VARCHAR" />
  29. <result column="consignee_city" property="consigneeCity" jdbcType="VARCHAR" />
  30. <result column="consignee_district_code" property="consigneeDistrictCode" jdbcType="VARCHAR" />
  31. <result column="consignee_district" property="consigneeDistrict" jdbcType="VARCHAR" />
  32. <result column="consignee_address" property="consigneeAddress" jdbcType="VARCHAR" />
  33. <result column="consignee_zip_code" property="consigneeZipCode" jdbcType="VARCHAR" />
  34. <result column="payer_name" property="payerName" jdbcType="VARCHAR" />
  35. <result column="payer_id_type" property="payerIdType" jdbcType="VARCHAR" />
  36. <result column="payer_id_code" property="payerIdCode" jdbcType="VARCHAR" />
  37. <result column="payer_mob" property="payerMob" jdbcType="VARCHAR" />
  38. <result column="pay_ent_cus_code" property="payEntCusCode" jdbcType="VARCHAR" />
  39. <result column="pay_no" property="payNo" jdbcType="VARCHAR" />
  40. <result column="actural_paid" property="acturalPaid" jdbcType="DECIMAL" />
  41. <result column="pay_time" property="payTime" jdbcType="TIMESTAMP" />
  42. <result column="expr_type" property="exprType" jdbcType="CHAR" />
  43. <result column="expr_comp_id" property="exprCompId" jdbcType="VARCHAR" />
  44. <result column="expr_agreement_type" property="exprAgreementType" jdbcType="CHAR" />
  45. <result column="decl_expr_fee" property="declExprFee" jdbcType="DECIMAL" />
  46. <result column="decl_post_tax" property="declPostTax" jdbcType="DECIMAL" />
  47. <result column="shop_id" property="shopId" jdbcType="VARCHAR" />
  48. <result column="extra_tag" property="extraTag" jdbcType="VARCHAR" />
  49. <result column="buyer_pay_check" property="buyerPayCheck" jdbcType="CHAR" />
  50. <result column="currency_code" property="currencyCode" jdbcType="VARCHAR" />
  51. <result column="ws_flag" property="wsFlag" jdbcType="CHAR" />
  52. <result column="remark" property="remark" jdbcType="VARCHAR" />
  53. <result column="creater_sn" property="createrSn" jdbcType="VARCHAR" />
  54. <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
  55. <result column="moder_sn" property="moderSn" jdbcType="VARCHAR" />
  56. <result column="mod_time" property="modTime" jdbcType="TIMESTAMP" />
  57. <result column="tstm" property="tstm" jdbcType="TIMESTAMP" />
  58. <result column="ex_field" property="exField" jdbcType="VARCHAR" />
  59. <result column="ex_field2" property="exField2" jdbcType="VARCHAR" />
  60. <result column="ex_field3" property="exField3" jdbcType="VARCHAR" />
  61. <result column="ex_field4" property="exField4" jdbcType="VARCHAR" />
  62. <result column="ex_field5" property="exField5" jdbcType="VARCHAR" />
  63. </resultMap>
  64. <sql id="Base_Column_List" >
  65. cus_waybill_sn, merch_order_id, merch_sn, merch_name, plat_sn, plat_name, third_party_merch_code,
  66. third_party_merch_name, place_orderl_time, auto_send, buyer_bill_time, buyer_id_type,
  67. buyer_id_code, buyer_name, buyer_tel, consignee_id_type, consignee_id_code, consignee_name,
  68. consignee_mob, consignee_tel, consignee_country_code, consignee_province_code, consignee_province,
  69. consignee_city_code, consignee_city, consignee_district_code, consignee_district,
  70. consignee_address, consignee_zip_code, payer_name, payer_id_type, payer_id_code,
  71. payer_mob, pay_ent_cus_code, pay_no, actural_paid, pay_time, expr_type, expr_comp_id, expr_agreement_type,
  72. decl_expr_fee, decl_post_tax, shop_id, extra_tag, buyer_pay_check, currency_code, ws_flag, remark,
  73. creater_sn, create_time, moder_sn, mod_time, tstm, ex_field, ex_field2, ex_field3,
  74. ex_field4, ex_field5
  75. </sql>
  76. <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
  77. select
  78. <include refid="Base_Column_List" />
  79. from cus_waybill
  80. where cus_waybill_sn = #{cusWaybillSn,jdbcType=VARCHAR}
  81. </select>
  82. <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
  83. delete from cus_waybill
  84. where cus_waybill_sn = #{cusWaybillSn,jdbcType=VARCHAR}
  85. </delete>
  86. <insert id="insertSelective" parameterType="com.emato.ccnet.wx.dao.entity.ccnet.CusWaybill" >
  87. insert into cus_waybill
  88. <trim prefix="(" suffix=")" suffixOverrides="," >
  89. <if test="cusWaybillSn != null" >
  90. cus_waybill_sn,
  91. </if>
  92. <if test="merchOrderId != null" >
  93. merch_order_id,
  94. </if>
  95. <if test="merchSn != null" >
  96. merch_sn,
  97. </if>
  98. <if test="merchName != null" >
  99. merch_name,
  100. </if>
  101. <if test="platSn != null" >
  102. plat_sn,
  103. </if>
  104. <if test="platName != null" >
  105. plat_name,
  106. </if>
  107. <if test="thirdPartyMerchCode != null" >
  108. third_party_merch_code,
  109. </if>
  110. <if test="thirdPartyMerchName != null" >
  111. third_party_merch_name,
  112. </if>
  113. <if test="placeOrderlTime != null" >
  114. place_orderl_time,
  115. </if>
  116. <if test="autoSend != null" >
  117. auto_send,
  118. </if>
  119. <if test="buyerBillTime != null" >
  120. buyer_bill_time,
  121. </if>
  122. <if test="buyerIdType != null" >
  123. buyer_id_type,
  124. </if>
  125. <if test="buyerIdCode != null" >
  126. buyer_id_code,
  127. </if>
  128. <if test="buyerName != null" >
  129. buyer_name,
  130. </if>
  131. <if test="buyerTel != null" >
  132. buyer_tel,
  133. </if>
  134. <if test="consigneeIdType != null" >
  135. consignee_id_type,
  136. </if>
  137. <if test="consigneeIdCode != null" >
  138. consignee_id_code,
  139. </if>
  140. <if test="consigneeName != null" >
  141. consignee_name,
  142. </if>
  143. <if test="consigneeMob != null" >
  144. consignee_mob,
  145. </if>
  146. <if test="consigneeTel != null" >
  147. consignee_tel,
  148. </if>
  149. <if test="consigneeCountryCode != null" >
  150. consignee_country_code,
  151. </if>
  152. <if test="consigneeProvinceCode != null" >
  153. consignee_province_code,
  154. </if>
  155. <if test="consigneeProvince != null" >
  156. consignee_province,
  157. </if>
  158. <if test="consigneeCityCode != null" >
  159. consignee_city_code,
  160. </if>
  161. <if test="consigneeCity != null" >
  162. consignee_city,
  163. </if>
  164. <if test="consigneeDistrictCode != null" >
  165. consignee_district_code,
  166. </if>
  167. <if test="consigneeDistrict != null" >
  168. consignee_district,
  169. </if>
  170. <if test="consigneeAddress != null" >
  171. consignee_address,
  172. </if>
  173. <if test="consigneeZipCode != null" >
  174. consignee_zip_code,
  175. </if>
  176. <if test="payerName != null" >
  177. payer_name,
  178. </if>
  179. <if test="payerIdType != null" >
  180. payer_id_type,
  181. </if>
  182. <if test="payerIdCode != null" >
  183. payer_id_code,
  184. </if>
  185. <if test="payerMob != null" >
  186. payer_mob,
  187. </if>
  188. <if test="payEntCusCode != null" >
  189. pay_ent_cus_code,
  190. </if>
  191. <if test="payNo != null" >
  192. pay_no,
  193. </if>
  194. <if test="acturalPaid != null" >
  195. actural_paid,
  196. </if>
  197. <if test="payTime != null" >
  198. pay_time,
  199. </if>
  200. <if test="exprType != null" >
  201. expr_type,
  202. </if>
  203. <if test="exprCompId != null" >
  204. expr_comp_id,
  205. </if>
  206. <if test="exprAgreementType != null" >
  207. expr_agreement_type,
  208. </if>
  209. <if test="declExprFee != null" >
  210. decl_expr_fee,
  211. </if>
  212. <if test="declPostTax != null" >
  213. decl_post_tax,
  214. </if>
  215. <if test="shopId != null" >
  216. shop_id,
  217. </if>
  218. <if test="extraTag != null" >
  219. extra_tag,
  220. </if>
  221. <if test="buyerPayCheck != null" >
  222. buyer_pay_check,
  223. </if>
  224. <if test="currencyCode != null" >
  225. currency_code,
  226. </if>
  227. <if test="wsFlag != null" >
  228. ws_flag,
  229. </if>
  230. <if test="remark != null" >
  231. remark,
  232. </if>
  233. <if test="createrSn != null" >
  234. creater_sn,
  235. </if>
  236. <if test="createTime != null" >
  237. create_time,
  238. </if>
  239. <if test="moderSn != null" >
  240. moder_sn,
  241. </if>
  242. <if test="modTime != null" >
  243. mod_time,
  244. </if>
  245. <if test="tstm != null" >
  246. tstm,
  247. </if>
  248. <if test="exField != null" >
  249. ex_field,
  250. </if>
  251. <if test="exField2 != null" >
  252. ex_field2,
  253. </if>
  254. <if test="exField3 != null" >
  255. ex_field3,
  256. </if>
  257. <if test="exField4 != null" >
  258. ex_field4,
  259. </if>
  260. <if test="exField5 != null" >
  261. ex_field5,
  262. </if>
  263. </trim>
  264. <trim prefix="values (" suffix=")" suffixOverrides="," >
  265. <if test="cusWaybillSn != null" >
  266. #{cusWaybillSn,jdbcType=VARCHAR},
  267. </if>
  268. <if test="merchOrderId != null" >
  269. #{merchOrderId,jdbcType=VARCHAR},
  270. </if>
  271. <if test="merchSn != null" >
  272. #{merchSn,jdbcType=VARCHAR},
  273. </if>
  274. <if test="merchName != null" >
  275. #{merchName,jdbcType=VARCHAR},
  276. </if>
  277. <if test="platSn != null" >
  278. #{platSn,jdbcType=VARCHAR},
  279. </if>
  280. <if test="platName != null" >
  281. #{platName,jdbcType=VARCHAR},
  282. </if>
  283. <if test="thirdPartyMerchCode != null" >
  284. #{thirdPartyMerchCode,jdbcType=VARCHAR},
  285. </if>
  286. <if test="thirdPartyMerchName != null" >
  287. #{thirdPartyMerchName,jdbcType=VARCHAR},
  288. </if>
  289. <if test="placeOrderlTime != null" >
  290. #{placeOrderlTime,jdbcType=TIMESTAMP},
  291. </if>
  292. <if test="autoSend != null" >
  293. #{autoSend,jdbcType=CHAR},
  294. </if>
  295. <if test="buyerBillTime != null" >
  296. #{buyerBillTime,jdbcType=TIMESTAMP},
  297. </if>
  298. <if test="buyerIdType != null" >
  299. #{buyerIdType,jdbcType=VARCHAR},
  300. </if>
  301. <if test="buyerIdCode != null" >
  302. #{buyerIdCode,jdbcType=VARCHAR},
  303. </if>
  304. <if test="buyerName != null" >
  305. #{buyerName,jdbcType=VARCHAR},
  306. </if>
  307. <if test="buyerTel != null" >
  308. #{buyerTel,jdbcType=VARCHAR},
  309. </if>
  310. <if test="consigneeIdType != null" >
  311. #{consigneeIdType,jdbcType=VARCHAR},
  312. </if>
  313. <if test="consigneeIdCode != null" >
  314. #{consigneeIdCode,jdbcType=VARCHAR},
  315. </if>
  316. <if test="consigneeName != null" >
  317. #{consigneeName,jdbcType=VARCHAR},
  318. </if>
  319. <if test="consigneeMob != null" >
  320. #{consigneeMob,jdbcType=VARCHAR},
  321. </if>
  322. <if test="consigneeTel != null" >
  323. #{consigneeTel,jdbcType=VARCHAR},
  324. </if>
  325. <if test="consigneeCountryCode != null" >
  326. #{consigneeCountryCode,jdbcType=VARCHAR},
  327. </if>
  328. <if test="consigneeProvinceCode != null" >
  329. #{consigneeProvinceCode,jdbcType=VARCHAR},
  330. </if>
  331. <if test="consigneeProvince != null" >
  332. #{consigneeProvince,jdbcType=VARCHAR},
  333. </if>
  334. <if test="consigneeCityCode != null" >
  335. #{consigneeCityCode,jdbcType=VARCHAR},
  336. </if>
  337. <if test="consigneeCity != null" >
  338. #{consigneeCity,jdbcType=VARCHAR},
  339. </if>
  340. <if test="consigneeDistrictCode != null" >
  341. #{consigneeDistrictCode,jdbcType=VARCHAR},
  342. </if>
  343. <if test="consigneeDistrict != null" >
  344. #{consigneeDistrict,jdbcType=VARCHAR},
  345. </if>
  346. <if test="consigneeAddress != null" >
  347. #{consigneeAddress,jdbcType=VARCHAR},
  348. </if>
  349. <if test="consigneeZipCode != null" >
  350. #{consigneeZipCode,jdbcType=VARCHAR},
  351. </if>
  352. <if test="payerName != null" >
  353. #{payerName,jdbcType=VARCHAR},
  354. </if>
  355. <if test="payerIdType != null" >
  356. #{payerIdType,jdbcType=VARCHAR},
  357. </if>
  358. <if test="payerIdCode != null" >
  359. #{payerIdCode,jdbcType=VARCHAR},
  360. </if>
  361. <if test="payerMob != null" >
  362. #{payerMob,jdbcType=VARCHAR},
  363. </if>
  364. <if test="payEntCusCode != null" >
  365. #{payEntCusCode,jdbcType=VARCHAR},
  366. </if>
  367. <if test="payNo != null" >
  368. #{payNo,jdbcType=VARCHAR},
  369. </if>
  370. <if test="acturalPaid != null" >
  371. #{acturalPaid,jdbcType=DECIMAL},
  372. </if>
  373. <if test="payTime != null" >
  374. #{payTime,jdbcType=TIMESTAMP},
  375. </if>
  376. <if test="exprType != null" >
  377. #{exprType,jdbcType=CHAR},
  378. </if>
  379. <if test="exprCompId != null" >
  380. #{exprCompId,jdbcType=VARCHAR},
  381. </if>
  382. <if test="exprAgreementType != null" >
  383. #{exprAgreementType,jdbcType=CHAR},
  384. </if>
  385. <if test="declExprFee != null" >
  386. #{declExprFee,jdbcType=DECIMAL},
  387. </if>
  388. <if test="declPostTax != null" >
  389. #{declPostTax,jdbcType=DECIMAL},
  390. </if>
  391. <if test="shopId != null" >
  392. #{shopId,jdbcType=VARCHAR},
  393. </if>
  394. <if test="extraTag != null" >
  395. #{extraTag,jdbcType=VARCHAR},
  396. </if>
  397. <if test="buyerPayCheck != null" >
  398. #{buyerPayCheck,jdbcType=VARCHAR},
  399. </if>
  400. <if test="currencyCode != null" >
  401. #{currencyCode,jdbcType=VARCHAR},
  402. </if>
  403. <if test="wsFlag != null" >
  404. #{wsFlag,jdbcType=CHAR},
  405. </if>
  406. <if test="remark != null" >
  407. #{remark,jdbcType=VARCHAR},
  408. </if>
  409. <if test="createrSn != null" >
  410. #{createrSn,jdbcType=VARCHAR},
  411. </if>
  412. <if test="createTime != null" >
  413. #{createTime,jdbcType=TIMESTAMP},
  414. </if>
  415. <if test="moderSn != null" >
  416. #{moderSn,jdbcType=VARCHAR},
  417. </if>
  418. <if test="modTime != null" >
  419. #{modTime,jdbcType=TIMESTAMP},
  420. </if>
  421. <if test="tstm != null" >
  422. #{tstm,jdbcType=TIMESTAMP},
  423. </if>
  424. <if test="exField != null" >
  425. #{exField,jdbcType=VARCHAR},
  426. </if>
  427. <if test="exField2 != null" >
  428. #{exField2,jdbcType=VARCHAR},
  429. </if>
  430. <if test="exField3 != null" >
  431. #{exField3,jdbcType=VARCHAR},
  432. </if>
  433. <if test="exField4 != null" >
  434. #{exField4,jdbcType=VARCHAR},
  435. </if>
  436. <if test="exField5 != null" >
  437. #{exField5,jdbcType=VARCHAR},
  438. </if>
  439. </trim>
  440. </insert>
  441. <update id="updateByPrimaryKeySelective" parameterType="com.emato.ccnet.wx.dao.entity.ccnet.CusWaybill" >
  442. update cus_waybill
  443. <set >
  444. <if test="merchOrderId != null" >
  445. merch_order_id = #{merchOrderId,jdbcType=VARCHAR},
  446. </if>
  447. <if test="merchSn != null" >
  448. merch_sn = #{merchSn,jdbcType=VARCHAR},
  449. </if>
  450. <if test="merchName != null" >
  451. merch_name = #{merchName,jdbcType=VARCHAR},
  452. </if>
  453. <if test="platSn != null" >
  454. plat_sn = #{platSn,jdbcType=VARCHAR},
  455. </if>
  456. <if test="platName != null" >
  457. plat_name = #{platName,jdbcType=VARCHAR},
  458. </if>
  459. <if test="thirdPartyMerchCode != null" >
  460. third_party_merch_code = #{thirdPartyMerchCode,jdbcType=VARCHAR},
  461. </if>
  462. <if test="thirdPartyMerchName != null" >
  463. third_party_merch_name = #{thirdPartyMerchName,jdbcType=VARCHAR},
  464. </if>
  465. <if test="placeOrderlTime != null" >
  466. place_orderl_time = #{placeOrderlTime,jdbcType=TIMESTAMP},
  467. </if>
  468. <if test="autoSend != null" >
  469. auto_send = #{autoSend,jdbcType=CHAR},
  470. </if>
  471. <if test="buyerBillTime != null" >
  472. buyer_bill_time = #{buyerBillTime,jdbcType=TIMESTAMP},
  473. </if>
  474. <if test="buyerIdType != null" >
  475. buyer_id_type = #{buyerIdType,jdbcType=VARCHAR},
  476. </if>
  477. <if test="buyerIdCode != null" >
  478. buyer_id_code = #{buyerIdCode,jdbcType=VARCHAR},
  479. </if>
  480. <if test="buyerName != null" >
  481. buyer_name = #{buyerName,jdbcType=VARCHAR},
  482. </if>
  483. <if test="buyerTel != null" >
  484. buyer_tel = #{buyerTel,jdbcType=VARCHAR},
  485. </if>
  486. <if test="consigneeIdType != null" >
  487. consignee_id_type = #{consigneeIdType,jdbcType=VARCHAR},
  488. </if>
  489. <if test="consigneeIdCode != null" >
  490. consignee_id_code = #{consigneeIdCode,jdbcType=VARCHAR},
  491. </if>
  492. <if test="consigneeName != null" >
  493. consignee_name = #{consigneeName,jdbcType=VARCHAR},
  494. </if>
  495. <if test="consigneeMob != null" >
  496. consignee_mob = #{consigneeMob,jdbcType=VARCHAR},
  497. </if>
  498. <if test="consigneeTel != null" >
  499. consignee_tel = #{consigneeTel,jdbcType=VARCHAR},
  500. </if>
  501. <if test="consigneeCountryCode != null" >
  502. consignee_country_code = #{consigneeCountryCode,jdbcType=VARCHAR},
  503. </if>
  504. <if test="consigneeProvinceCode != null" >
  505. consignee_province_code = #{consigneeProvinceCode,jdbcType=VARCHAR},
  506. </if>
  507. <if test="consigneeProvince != null" >
  508. consignee_province = #{consigneeProvince,jdbcType=VARCHAR},
  509. </if>
  510. <if test="consigneeCityCode != null" >
  511. consignee_city_code = #{consigneeCityCode,jdbcType=VARCHAR},
  512. </if>
  513. <if test="consigneeCity != null" >
  514. consignee_city = #{consigneeCity,jdbcType=VARCHAR},
  515. </if>
  516. <if test="consigneeDistrictCode != null" >
  517. consignee_district_code = #{consigneeDistrictCode,jdbcType=VARCHAR},
  518. </if>
  519. <if test="consigneeDistrict != null" >
  520. consignee_district = #{consigneeDistrict,jdbcType=VARCHAR},
  521. </if>
  522. <if test="consigneeAddress != null" >
  523. consignee_address = #{consigneeAddress,jdbcType=VARCHAR},
  524. </if>
  525. <if test="consigneeZipCode != null" >
  526. consignee_zip_code = #{consigneeZipCode,jdbcType=VARCHAR},
  527. </if>
  528. <if test="payerName != null" >
  529. payer_name = #{payerName,jdbcType=VARCHAR},
  530. </if>
  531. <if test="payerIdType != null" >
  532. payer_id_type = #{payerIdType,jdbcType=VARCHAR},
  533. </if>
  534. <if test="payerIdCode != null" >
  535. payer_id_code = #{payerIdCode,jdbcType=VARCHAR},
  536. </if>
  537. <if test="payerMob != null" >
  538. payer_mob = #{payerMob,jdbcType=VARCHAR},
  539. </if>
  540. <if test="payEntCusCode != null" >
  541. pay_ent_cus_code = #{payEntCusCode,jdbcType=VARCHAR},
  542. </if>
  543. <if test="payNo != null" >
  544. pay_no = #{payNo,jdbcType=VARCHAR},
  545. </if>
  546. <if test="acturalPaid != null" >
  547. actural_paid = #{acturalPaid,jdbcType=DECIMAL},
  548. </if>
  549. <if test="payTime != null" >
  550. pay_time = #{payTime,jdbcType=TIMESTAMP},
  551. </if>
  552. <if test="exprType != null" >
  553. expr_type = #{exprType,jdbcType=CHAR},
  554. </if>
  555. <if test="exprCompId != null" >
  556. expr_comp_id = #{exprCompId,jdbcType=VARCHAR},
  557. </if>
  558. <if test="exprAgreementType != null" >
  559. expr_agreement_type = #{exprAgreementType,jdbcType=CHAR},
  560. </if>
  561. <if test="declExprFee != null" >
  562. decl_expr_fee = #{declExprFee,jdbcType=DECIMAL},
  563. </if>
  564. <if test="declPostTax != null" >
  565. decl_post_tax = #{declPostTax,jdbcType=DECIMAL},
  566. </if>
  567. <if test="shopId != null" >
  568. shop_id = #{shopId,jdbcType=VARCHAR},
  569. </if>
  570. <if test="extraTag != null" >
  571. extra_tag = #{extraTag,jdbcType=VARCHAR},
  572. </if>
  573. <if test="buyerPayCheck != null" >
  574. buyer_pay_check = #{buyerPayCheck,jdbcType=VARCHAR},
  575. </if>
  576. <if test="currencyCode != null" >
  577. currency_code = #{currencyCode,jdbcType=VARCHAR},
  578. </if>
  579. <if test="wsFlag != null" >
  580. ws_flag = #{wsFlag,jdbcType=CHAR},
  581. </if>
  582. <if test="remark != null" >
  583. remark = #{remark,jdbcType=VARCHAR},
  584. </if>
  585. <if test="createrSn != null" >
  586. creater_sn = #{createrSn,jdbcType=VARCHAR},
  587. </if>
  588. <if test="createTime != null" >
  589. create_time = #{createTime,jdbcType=TIMESTAMP},
  590. </if>
  591. <if test="moderSn != null" >
  592. moder_sn = #{moderSn,jdbcType=VARCHAR},
  593. </if>
  594. <if test="modTime != null" >
  595. mod_time = #{modTime,jdbcType=TIMESTAMP},
  596. </if>
  597. <if test="tstm != null" >
  598. tstm = #{tstm,jdbcType=TIMESTAMP},
  599. </if>
  600. <if test="exField != null" >
  601. ex_field = #{exField,jdbcType=VARCHAR},
  602. </if>
  603. <if test="exField2 != null" >
  604. ex_field2 = #{exField2,jdbcType=VARCHAR},
  605. </if>
  606. <if test="exField3 != null" >
  607. ex_field3 = #{exField3,jdbcType=VARCHAR},
  608. </if>
  609. <if test="exField4 != null" >
  610. ex_field4 = #{exField4,jdbcType=VARCHAR},
  611. </if>
  612. <if test="exField5 != null" >
  613. ex_field5 = #{exField5,jdbcType=VARCHAR},
  614. </if>
  615. </set>
  616. where cus_waybill_sn = #{cusWaybillSn,jdbcType=VARCHAR}
  617. </update>
  618. </mapper>