MerchNotiMapper.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608
  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.kmall.admin.dao.cuspay.merch.MerchNotiMapper" >
  4. <resultMap id="BaseResultMap" type="com.kmall.admin.cuspay.entity.merch.MerchNoti" >
  5. <id column="noti_sn" property="notiSn" jdbcType="VARCHAR" />
  6. <result column="all_pay_sn" property="allPaySn" jdbcType="VARCHAR" />
  7. <result column="merch_sn" property="merchSn" jdbcType="VARCHAR" />
  8. <result column="merch_name" property="merchName" jdbcType="VARCHAR" />
  9. <result column="merch_erp_order_sn" property="merchErpOrderSn" jdbcType="VARCHAR" />
  10. <result column="plat_sn" property="platSn" jdbcType="VARCHAR" />
  11. <result column="plat_name" property="platName" jdbcType="VARCHAR" />
  12. <result column="third_party_merch_code" property="thirdPartyMerchCode" jdbcType="VARCHAR" />
  13. <result column="third_party_merch_name" property="thirdPartyMerchName" jdbcType="VARCHAR" />
  14. <result column="all_merch_id" property="allMerchId" jdbcType="VARCHAR" />
  15. <result column="all_order_no" property="allOrderNo" jdbcType="VARCHAR" />
  16. <result column="all_pay_no" property="allPayNo" jdbcType="VARCHAR" />
  17. <result column="all_sub_order_no" property="allSubOrderNo" jdbcType="VARCHAR" />
  18. <result column="all_sub_order_id" property="allSubOrderId" jdbcType="VARCHAR" />
  19. <result column="pay_chnl_flag" property="payChnlFlag" jdbcType="VARCHAR" />
  20. <result column="buyer_payer_check" property="buyerPayerCheck" jdbcType="CHAR" />
  21. <result column="noti_count" property="notiCount" jdbcType="INTEGER" />
  22. <result column="is_stoped" property="isStoped" jdbcType="CHAR" />
  23. <result column="cus_decl_status" property="cusDeclStatus" jdbcType="CHAR" />
  24. <result column="noti_statue" property="notiStatue" jdbcType="CHAR" />
  25. <result column="code" property="code" jdbcType="VARCHAR" />
  26. <result column="msg" property="msg" jdbcType="VARCHAR" />
  27. <result column="notify_url" property="notifyUrl" jdbcType="VARCHAR" />
  28. <result column="remark" property="remark" jdbcType="VARCHAR" />
  29. <result column="creater_sn" property="createrSn" jdbcType="VARCHAR" />
  30. <result column="create_time" property="createTime" jdbcType="VARCHAR" />
  31. <result column="moder_sn" property="moderSn" jdbcType="VARCHAR" />
  32. <result column="mod_time" property="modTime" jdbcType="VARCHAR" />
  33. <result column="tstm" property="tstm" jdbcType="TIMESTAMP" />
  34. <result column="order_sn" property="orderSn" jdbcType="VARCHAR" />
  35. </resultMap>
  36. <sql id="Base_Column_List" >
  37. noti_sn, all_pay_sn, merch_sn, merch_name, merch_erp_order_sn, plat_sn, plat_name,
  38. third_party_merch_code, third_party_merch_name, all_merch_id, all_order_no, all_pay_no,
  39. all_sub_order_no, all_sub_order_id, pay_chnl_flag, buyer_payer_check, noti_count, is_stoped, cus_decl_status,
  40. noti_statue, code, msg, notify_url, remark, creater_sn, create_time, moder_sn, mod_time, order_sn,
  41. tstm
  42. </sql>
  43. <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
  44. select
  45. <include refid="Base_Column_List" />
  46. from merch_noti
  47. where noti_sn = #{notiSn,jdbcType=VARCHAR}
  48. </select>
  49. <select id="getMerchNotiByCodeAndOrderNo" resultMap="BaseResultMap" parameterType="com.kmall.admin.cuspay.entity.merch.MerchNoti" >
  50. select
  51. <include refid="Base_Column_List" />
  52. from merch_noti
  53. where code = #{code,jdbcType=VARCHAR} and all_pay_no = #{allPayNo,jdbcType=VARCHAR}
  54. <if test="allSubOrderNo != null" >
  55. and all_sub_order_no = #{allSubOrderNo}
  56. </if>
  57. </select>
  58. <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
  59. delete from merch_noti
  60. where noti_sn = #{notiSn,jdbcType=VARCHAR}
  61. </delete>
  62. <insert id="insertSelective" parameterType="com.kmall.admin.cuspay.entity.merch.MerchNoti" >
  63. insert into merch_noti
  64. <trim prefix="(" suffix=")" suffixOverrides="," >
  65. <if test="notiSn != null" >
  66. noti_sn,
  67. </if>
  68. <if test="allPaySn != null" >
  69. all_pay_sn,
  70. </if>
  71. <if test="merchSn != null" >
  72. merch_sn,
  73. </if>
  74. <if test="merchName != null" >
  75. merch_name,
  76. </if>
  77. <if test="merchErpOrderSn != null" >
  78. merch_erp_order_sn,
  79. </if>
  80. <if test="platSn != null" >
  81. plat_sn,
  82. </if>
  83. <if test="platName != null" >
  84. plat_name,
  85. </if>
  86. <if test="thirdPartyMerchCode != null" >
  87. third_party_merch_code,
  88. </if>
  89. <if test="thirdPartyMerchName != null" >
  90. third_party_merch_name,
  91. </if>
  92. <if test="allMerchId != null" >
  93. all_merch_id,
  94. </if>
  95. <if test="allOrderNo != null" >
  96. all_order_no,
  97. </if>
  98. <if test="allPayNo != null" >
  99. all_pay_no,
  100. </if>
  101. <if test="allSubOrderNo != null" >
  102. all_sub_order_no,
  103. </if>
  104. <if test="allSubOrderId != null" >
  105. all_sub_order_id,
  106. </if>
  107. <if test="payChnlFlag != null" >
  108. pay_chnl_flag,
  109. </if>
  110. <if test="buyerPayerCheck != null" >
  111. buyer_payer_check,
  112. </if>
  113. <if test="notiCount != null" >
  114. noti_count,
  115. </if>
  116. <if test="isStoped != null" >
  117. is_stoped,
  118. </if>
  119. <if test="cusDeclStatus != null" >
  120. cus_decl_status,
  121. </if>
  122. <if test="notiStatue != null" >
  123. noti_statue,
  124. </if>
  125. <if test="code != null" >
  126. code,
  127. </if>
  128. <if test="msg != null" >
  129. msg,
  130. </if>
  131. <if test="notifyUrl != null" >
  132. notify_url,
  133. </if>
  134. <if test="remark != null" >
  135. remark,
  136. </if>
  137. <if test="createrSn != null" >
  138. creater_sn,
  139. </if>
  140. <if test="createTime != null" >
  141. create_time,
  142. </if>
  143. <if test="moderSn != null" >
  144. moder_sn,
  145. </if>
  146. <if test="modTime != null" >
  147. mod_time,
  148. </if>
  149. <if test="tstm != null" >
  150. tstm,
  151. </if>
  152. <if test="orderSn != null" >
  153. order_sn,
  154. </if>
  155. </trim>
  156. <trim prefix="values (" suffix=")" suffixOverrides="," >
  157. <if test="notiSn != null" >
  158. #{notiSn,jdbcType=VARCHAR},
  159. </if>
  160. <if test="allPaySn != null" >
  161. #{allPaySn,jdbcType=VARCHAR},
  162. </if>
  163. <if test="merchSn != null" >
  164. #{merchSn,jdbcType=VARCHAR},
  165. </if>
  166. <if test="merchName != null" >
  167. #{merchName,jdbcType=VARCHAR},
  168. </if>
  169. <if test="merchErpOrderSn != null" >
  170. #{merchErpOrderSn,jdbcType=VARCHAR},
  171. </if>
  172. <if test="platSn != null" >
  173. #{platSn,jdbcType=VARCHAR},
  174. </if>
  175. <if test="platName != null" >
  176. #{platName,jdbcType=VARCHAR},
  177. </if>
  178. <if test="thirdPartyMerchCode != null" >
  179. #{thirdPartyMerchCode,jdbcType=VARCHAR},
  180. </if>
  181. <if test="thirdPartyMerchName != null" >
  182. #{thirdPartyMerchName,jdbcType=VARCHAR},
  183. </if>
  184. <if test="allMerchId != null" >
  185. #{allMerchId,jdbcType=VARCHAR},
  186. </if>
  187. <if test="allOrderNo != null" >
  188. #{allOrderNo,jdbcType=VARCHAR},
  189. </if>
  190. <if test="allPayNo != null" >
  191. #{allPayNo,jdbcType=VARCHAR},
  192. </if>
  193. <if test="allSubOrderNo != null" >
  194. #{allSubOrderNo,jdbcType=VARCHAR},
  195. </if>
  196. <if test="allSubOrderId != null" >
  197. #{allSubOrderId,jdbcType=VARCHAR},
  198. </if>
  199. <if test="payChnlFlag != null" >
  200. #{payChnlFlag,jdbcType=VARCHAR},
  201. </if>
  202. <if test="buyerPayerCheck != null" >
  203. #{buyerPayerCheck,jdbcType=CHAR},
  204. </if>
  205. <if test="notiCount != null" >
  206. #{notiCount,jdbcType=INTEGER},
  207. </if>
  208. <if test="isStoped != null" >
  209. #{isStoped,jdbcType=CHAR},
  210. </if>
  211. <if test="cusDeclStatus != null" >
  212. #{cusDeclStatus,jdbcType=CHAR},
  213. </if>
  214. <if test="notiStatue != null" >
  215. #{notiStatue,jdbcType=CHAR},
  216. </if>
  217. <if test="code != null" >
  218. #{code,jdbcType=VARCHAR},
  219. </if>
  220. <if test="msg != null" >
  221. #{msg,jdbcType=VARCHAR},
  222. </if>
  223. <if test="notifyUrl != null" >
  224. #{notifyUrl,jdbcType=VARCHAR},
  225. </if>
  226. <if test="remark != null" >
  227. #{remark,jdbcType=VARCHAR},
  228. </if>
  229. <if test="createrSn != null" >
  230. #{createrSn,jdbcType=VARCHAR},
  231. </if>
  232. <if test="createTime != null" >
  233. #{createTime,jdbcType=VARCHAR},
  234. </if>
  235. <if test="moderSn != null" >
  236. #{moderSn,jdbcType=VARCHAR},
  237. </if>
  238. <if test="modTime != null" >
  239. #{modTime,jdbcType=VARCHAR},
  240. </if>
  241. <if test="tstm != null" >
  242. #{tstm,jdbcType=TIMESTAMP},
  243. </if>
  244. <if test="orderSn != null" >
  245. #{orderSn,jdbcType=VARCHAR},
  246. </if>
  247. </trim>
  248. </insert>
  249. <update id="updateByPrimaryKeySelective" parameterType="com.kmall.admin.cuspay.entity.merch.MerchNoti" >
  250. update merch_noti
  251. <set >
  252. <if test="allPaySn != null" >
  253. all_pay_sn = #{allPaySn,jdbcType=VARCHAR},
  254. </if>
  255. <if test="merchSn != null" >
  256. merch_sn = #{merchSn,jdbcType=VARCHAR},
  257. </if>
  258. <if test="merchName != null" >
  259. merch_name = #{merchName,jdbcType=VARCHAR},
  260. </if>
  261. <if test="merchErpOrderSn != null" >
  262. merch_erp_order_sn = #{merchErpOrderSn,jdbcType=VARCHAR},
  263. </if>
  264. <if test="platSn != null" >
  265. plat_sn = #{platSn,jdbcType=VARCHAR},
  266. </if>
  267. <if test="platName != null" >
  268. plat_name = #{platName,jdbcType=VARCHAR},
  269. </if>
  270. <if test="thirdPartyMerchCode != null" >
  271. third_party_merch_code = #{thirdPartyMerchCode,jdbcType=VARCHAR},
  272. </if>
  273. <if test="thirdPartyMerchName != null" >
  274. third_party_merch_name = #{thirdPartyMerchName,jdbcType=VARCHAR},
  275. </if>
  276. <if test="allMerchId != null" >
  277. all_merch_id = #{allMerchId,jdbcType=VARCHAR},
  278. </if>
  279. <if test="allOrderNo != null" >
  280. all_order_no = #{allOrderNo,jdbcType=VARCHAR},
  281. </if>
  282. <if test="allPayNo != null" >
  283. all_pay_no = #{allPayNo,jdbcType=VARCHAR},
  284. </if>
  285. <if test="allSubOrderNo != null" >
  286. all_sub_order_no = #{allSubOrderNo,jdbcType=VARCHAR},
  287. </if>
  288. <if test="allSubOrderId != null" >
  289. all_sub_order_id = #{allSubOrderId,jdbcType=VARCHAR},
  290. </if>
  291. <if test="payChnlFlag != null" >
  292. pay_chnl_flag = #{payChnlFlag,jdbcType=VARCHAR},
  293. </if>
  294. <if test="buyerPayerCheck != null" >
  295. buyer_payer_check = #{buyerPayerCheck,jdbcType=CHAR},
  296. </if>
  297. <if test="notiCount != null" >
  298. noti_count = #{notiCount,jdbcType=INTEGER},
  299. </if>
  300. <if test="isStoped != null" >
  301. is_stoped = #{isStoped,jdbcType=CHAR},
  302. </if>
  303. <if test="cusDeclStatus != null" >
  304. cus_decl_status = #{cusDeclStatus,jdbcType=CHAR},
  305. </if>
  306. <if test="notiStatue != null" >
  307. noti_statue = #{notiStatue,jdbcType=CHAR},
  308. </if>
  309. <if test="code != null" >
  310. code = #{code,jdbcType=VARCHAR},
  311. </if>
  312. <if test="msg != null" >
  313. msg = #{msg,jdbcType=VARCHAR},
  314. </if>
  315. <if test="notifyUrl != null" >
  316. notify_url = #{notifyUrl,jdbcType=VARCHAR},
  317. </if>
  318. <if test="remark != null" >
  319. remark = #{remark,jdbcType=VARCHAR},
  320. </if>
  321. <if test="createrSn != null" >
  322. creater_sn = #{createrSn,jdbcType=VARCHAR},
  323. </if>
  324. <if test="createTime != null" >
  325. create_time = #{createTime,jdbcType=VARCHAR},
  326. </if>
  327. <if test="moderSn != null" >
  328. moder_sn = #{moderSn,jdbcType=VARCHAR},
  329. </if>
  330. <if test="modTime != null" >
  331. mod_time = #{modTime,jdbcType=VARCHAR},
  332. </if>
  333. <if test="tstm != null" >
  334. tstm = #{tstm,jdbcType=TIMESTAMP},
  335. </if>
  336. <if test="orderSn != null" >
  337. order_sn = #{orderSn,jdbcType=VARCHAR},
  338. </if>
  339. </set>
  340. where noti_sn = #{notiSn,jdbcType=VARCHAR}
  341. </update>
  342. <update id="updateByorderSn" parameterType="com.kmall.admin.cuspay.entity.merch.MerchNoti" >
  343. update merch_noti
  344. <set >
  345. <if test="allPaySn != null" >
  346. all_pay_sn = #{allPaySn,jdbcType=VARCHAR},
  347. </if>
  348. <if test="merchSn != null" >
  349. merch_sn = #{merchSn,jdbcType=VARCHAR},
  350. </if>
  351. <if test="merchName != null" >
  352. merch_name = #{merchName,jdbcType=VARCHAR},
  353. </if>
  354. <if test="merchErpOrderSn != null" >
  355. merch_erp_order_sn = #{merchErpOrderSn,jdbcType=VARCHAR},
  356. </if>
  357. <if test="platSn != null" >
  358. plat_sn = #{platSn,jdbcType=VARCHAR},
  359. </if>
  360. <if test="platName != null" >
  361. plat_name = #{platName,jdbcType=VARCHAR},
  362. </if>
  363. <if test="thirdPartyMerchCode != null" >
  364. third_party_merch_code = #{thirdPartyMerchCode,jdbcType=VARCHAR},
  365. </if>
  366. <if test="thirdPartyMerchName != null" >
  367. third_party_merch_name = #{thirdPartyMerchName,jdbcType=VARCHAR},
  368. </if>
  369. <if test="allMerchId != null" >
  370. all_merch_id = #{allMerchId,jdbcType=VARCHAR},
  371. </if>
  372. <if test="allOrderNo != null" >
  373. all_order_no = #{allOrderNo,jdbcType=VARCHAR},
  374. </if>
  375. <if test="allPayNo != null" >
  376. all_pay_no = #{allPayNo,jdbcType=VARCHAR},
  377. </if>
  378. <if test="allSubOrderNo != null" >
  379. all_sub_order_no = #{allSubOrderNo,jdbcType=VARCHAR},
  380. </if>
  381. <if test="allSubOrderId != null" >
  382. all_sub_order_id = #{allSubOrderId,jdbcType=VARCHAR},
  383. </if>
  384. <if test="payChnlFlag != null" >
  385. pay_chnl_flag = #{payChnlFlag,jdbcType=VARCHAR},
  386. </if>
  387. <if test="buyerPayerCheck != null" >
  388. buyer_payer_check = #{buyerPayerCheck,jdbcType=CHAR},
  389. </if>
  390. <if test="notiCount != null" >
  391. noti_count = #{notiCount,jdbcType=INTEGER},
  392. </if>
  393. <if test="isStoped != null" >
  394. is_stoped = #{isStoped,jdbcType=CHAR},
  395. </if>
  396. <if test="cusDeclStatus != null" >
  397. cus_decl_status = #{cusDeclStatus,jdbcType=CHAR},
  398. </if>
  399. <if test="notiStatue != null" >
  400. noti_statue = #{notiStatue,jdbcType=CHAR},
  401. </if>
  402. <if test="code != null" >
  403. code = #{code,jdbcType=VARCHAR},
  404. </if>
  405. <if test="msg != null" >
  406. msg = #{msg,jdbcType=VARCHAR},
  407. </if>
  408. <if test="notifyUrl != null" >
  409. notify_url = #{notifyUrl,jdbcType=VARCHAR},
  410. </if>
  411. <if test="remark != null" >
  412. remark = #{remark,jdbcType=VARCHAR},
  413. </if>
  414. <if test="createrSn != null" >
  415. creater_sn = #{createrSn,jdbcType=VARCHAR},
  416. </if>
  417. <if test="createTime != null" >
  418. create_time = #{createTime,jdbcType=VARCHAR},
  419. </if>
  420. <if test="moderSn != null" >
  421. moder_sn = #{moderSn,jdbcType=VARCHAR},
  422. </if>
  423. <if test="modTime != null" >
  424. mod_time = #{modTime,jdbcType=VARCHAR},
  425. </if>
  426. <if test="tstm != null" >
  427. tstm = #{tstm,jdbcType=TIMESTAMP},
  428. </if>
  429. <if test="orderSn != null" >
  430. order_sn = #{orderSn,jdbcType=VARCHAR},
  431. </if>
  432. </set>
  433. where order_sn = #{orderSn,jdbcType=VARCHAR}
  434. </update>
  435. <select id="selectMerchNotis" resultMap="BaseResultMap" parameterType="java.lang.Integer">
  436. SELECT
  437. <include refid="Base_Column_List"/>
  438. FROM merch_noti WHERE noti_statue = '0' and is_stoped = '0' limit #{limit}
  439. </select>
  440. <insert id="insertBatch" parameterType="java.util.List">
  441. insert into merch_noti
  442. <trim prefix="(" suffix=")" suffixOverrides=",">
  443. noti_sn,
  444. all_pay_sn,
  445. merch_sn,
  446. merch_name,
  447. merch_erp_order_sn,
  448. plat_sn,
  449. plat_name,
  450. third_party_merch_code,
  451. third_party_merch_name,
  452. all_merch_id,
  453. all_order_no,
  454. all_pay_no,
  455. all_sub_order_no,
  456. all_sub_order_id,
  457. pay_chnl_flag,
  458. buyer_payer_check,
  459. noti_count,
  460. is_stoped,
  461. cus_decl_status,
  462. noti_statue,
  463. code,
  464. msg,
  465. notify_url,
  466. remark,
  467. creater_sn,
  468. create_time,
  469. moder_sn,
  470. mod_time,
  471. order_sn
  472. </trim>
  473. VALUES
  474. <foreach collection="list" item="item" index="index" separator=",">
  475. <trim prefix="(" suffix=")" suffixOverrides=",">
  476. #{item.notiSn,jdbcType=VARCHAR},
  477. #{item.allPaySn,jdbcType=VARCHAR},
  478. #{item.merchSn,jdbcType=VARCHAR},
  479. #{item.merchName,jdbcType=VARCHAR},
  480. #{item.merchErpOrderSn, jdbcType=VARCHAR},
  481. #{item.platSn,jdbcType=VARCHAR},
  482. #{item.platName,jdbcType=VARCHAR},
  483. #{item.thirdPartyMerchCode,jdbcType=VARCHAR},
  484. #{item.thirdPartyMerchName,jdbcType=VARCHAR},
  485. #{item.allMerchId,jdbcType=VARCHAR},
  486. #{item.allOrderNo,jdbcType=VARCHAR},
  487. #{item.allPayNo,jdbcType=VARCHAR},
  488. #{item.allSubOrderNo,jdbcType=VARCHAR},
  489. #{item.allSubOrderId,jdbcType=VARCHAR},
  490. #{item.payChnlFlag,jdbcType=VARCHAR},
  491. #{item.buyerPayerCheck,jdbcType=CHAR},
  492. #{item.notiCount,jdbcType=INTEGER},
  493. #{item.isStoped,jdbcType=CHAR},
  494. #{item.cusDeclStatus,jdbcType=CHAR},
  495. #{item.notiStatue,jdbcType=CHAR},
  496. #{item.code,jdbcType=VARCHAR},
  497. #{item.msg,jdbcType=VARCHAR},
  498. #{item.notifyUrl,jdbcType=VARCHAR},
  499. #{item.remark,jdbcType=VARCHAR},
  500. #{item.createrSn,jdbcType=VARCHAR},
  501. #{item.createTime,jdbcType=VARCHAR},
  502. #{item.moderSn,jdbcType=VARCHAR},
  503. #{item.modTime,jdbcType=VARCHAR},
  504. #{item.orderSn,jdbcType=VARCHAR},
  505. </trim>
  506. </foreach>
  507. </insert>
  508. <update id="updateBatch" parameterType="java.util.List">
  509. <foreach collection="list" item="item" index="index" open="" close="" separator=";">
  510. update merch_noti
  511. <set >
  512. <if test="item.allPaySn != null" >
  513. all_pay_sn = #{item.allPaySn,jdbcType=VARCHAR},
  514. </if>
  515. <if test="item.merchSn != null" >
  516. merch_sn = #{item.merchSn,jdbcType=VARCHAR},
  517. </if>
  518. <if test="item.merchName != null" >
  519. merch_name = #{item.merchName,jdbcType=VARCHAR},
  520. </if>
  521. <if test="item.merchErpOrderSn != null">
  522. merch_erp_order_sn = #{item.merchErpOrderSn,jdbcType=VARCHAR},
  523. </if>
  524. <if test="item.platSn != null" >
  525. plat_sn = #{item.platSn,jdbcType=VARCHAR},
  526. </if>
  527. <if test="item.platName != null" >
  528. plat_name = #{item.platName,jdbcType=VARCHAR},
  529. </if>
  530. <if test="item.thirdPartyMerchCode != null" >
  531. third_party_merch_code = #{item.thirdPartyMerchCode,jdbcType=VARCHAR},
  532. </if>
  533. <if test="item.thirdPartyMerchName != null" >
  534. third_party_merch_name = #{item.thirdPartyMerchName,jdbcType=VARCHAR},
  535. </if>
  536. <if test="item.allMerchId != null" >
  537. all_merch_id = #{item.allMerchId,jdbcType=VARCHAR},
  538. </if>
  539. <if test="item.allOrderNo != null" >
  540. all_order_no = #{item.allOrderNo,jdbcType=VARCHAR},
  541. </if>
  542. <if test="item.allPayNo != null" >
  543. all_pay_no = #{item.allPayNo,jdbcType=VARCHAR},
  544. </if>
  545. <if test="item.allSubOrderNo != null" >
  546. all_sub_order_no = #{item.allSubOrderNo,jdbcType=VARCHAR},
  547. </if>
  548. <if test="item.allSubOrderId != null" >
  549. all_sub_order_id = #{item.allSubOrderId,jdbcType=VARCHAR},
  550. </if>
  551. <if test="item.payChnlFlag != null" >
  552. pay_chnl_flag = #{item.payChnlFlag,jdbcType=VARCHAR},
  553. </if>
  554. <if test="item.buyerPayerCheck != null" >
  555. buyer_payer_check = #{item.buyerPayerCheck,jdbcType=CHAR},
  556. </if>
  557. <if test="item.notiCount != null" >
  558. noti_count = #{item.notiCount,jdbcType=INTEGER},
  559. </if>
  560. <if test="item.isStoped != null" >
  561. is_stoped = #{item.isStoped,jdbcType=CHAR},
  562. </if>
  563. <if test="item.cusDeclStatus != null" >
  564. cus_decl_status = #{item.cusDeclStatus,jdbcType=CHAR},
  565. </if>
  566. <if test="item.notiStatue != null" >
  567. noti_statue = #{item.notiStatue,jdbcType=CHAR},
  568. </if>
  569. <if test="item.code != null" >
  570. code = #{item.code,jdbcType=VARCHAR},
  571. </if>
  572. <if test="item.msg != null" >
  573. msg = #{item.msg,jdbcType=VARCHAR},
  574. </if>
  575. <if test="item.notifyUrl != null" >
  576. notify_url = #{item.notifyUrl,jdbcType=VARCHAR},
  577. </if>
  578. <if test="item.remark != null" >
  579. remark = #{item.remark,jdbcType=VARCHAR},
  580. </if>
  581. <if test="item.createrSn != null" >
  582. creater_sn = #{item.createrSn,jdbcType=VARCHAR},
  583. </if>
  584. <if test="item.createTime != null" >
  585. create_time = #{item.createTime,jdbcType=VARCHAR},
  586. </if>
  587. <if test="item.moderSn != null" >
  588. moder_sn = #{item.moderSn,jdbcType=VARCHAR},
  589. </if>
  590. <if test="item.modTime != null" >
  591. mod_time = #{item.modTime,jdbcType=VARCHAR},
  592. </if>
  593. <if test="item.tstm != null" >
  594. tstm = #{item.tstm,jdbcType=TIMESTAMP},
  595. </if>
  596. <if test="item.orderSn != null" >
  597. order_sn = #{item.orderSn,jdbcType=VARCHAR},
  598. </if>
  599. </set>
  600. where noti_sn = #{item.notiSn,jdbcType=VARCHAR}
  601. </foreach>
  602. </update>
  603. </mapper>