BTransferDetailRequestMapper.xml 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733
  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.hcloud.microserver.mbg.mapper.BTransferDetailRequestMapper">
  4. <resultMap id="BaseResultMap" type="com.hcloud.microserver.mbg.modul.BTransferDetailRequest">
  5. <id column="guid" jdbcType="BIGINT" property="guid" />
  6. <result column="fk_transfer_detail_id" jdbcType="BIGINT" property="fkTransferDetailId" />
  7. <result column="fk_user_id" jdbcType="BIGINT" property="fkUserId" />
  8. <result column="user_id" jdbcType="VARCHAR" property="userId" />
  9. <result column="submitter" jdbcType="VARCHAR" property="submitter" />
  10. <result column="authorizer" jdbcType="VARCHAR" property="authorizer" />
  11. <result column="cha_serial_no" jdbcType="VARCHAR" property="chaSerialNo" />
  12. <result column="ent_serial_no" jdbcType="VARCHAR" property="entSerialNo" />
  13. <result column="currency" jdbcType="VARCHAR" property="currency" />
  14. <result column="pay_amount" jdbcType="DECIMAL" property="payAmount" />
  15. <result column="pay_bank_name" jdbcType="VARCHAR" property="payBankName" />
  16. <result column="pay_account" jdbcType="VARCHAR" property="payAccount" />
  17. <result column="pay_name" jdbcType="VARCHAR" property="payName" />
  18. <result column="pay_date" jdbcType="VARCHAR" property="payDate" />
  19. <result column="pay_serial" jdbcType="VARCHAR" property="paySerial" />
  20. <result column="hand_fee_type" jdbcType="VARCHAR" property="handFeeType" />
  21. <result column="pay_status" jdbcType="VARCHAR" property="payStatus" />
  22. <result column="pay_msg" jdbcType="VARCHAR" property="payMsg" />
  23. <result column="pay_response_code" jdbcType="VARCHAR" property="payResponseCode" />
  24. <result column="fail_reson" jdbcType="VARCHAR" property="failReson" />
  25. <result column="account_money" jdbcType="DECIMAL" property="accountMoney" />
  26. <result column="hand_fee" jdbcType="DECIMAL" property="handFee" />
  27. <result column="post_fee" jdbcType="DECIMAL" property="postFee" />
  28. <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
  29. <result column="status" jdbcType="INTEGER" property="status" />
  30. <result column="serial_no" jdbcType="VARCHAR" property="serialNo" />
  31. <result column="service_id" jdbcType="VARCHAR" property="serviceId" />
  32. <result column="session_id" jdbcType="VARCHAR" property="sessionId" />
  33. <result column="req_time" jdbcType="VARCHAR" property="reqTime" />
  34. <result column="ret_code" jdbcType="VARCHAR" property="retCode" />
  35. <result column="error_msg" jdbcType="VARCHAR" property="errorMsg" />
  36. <result column="urgent_sign" jdbcType="VARCHAR" property="urgentSign" />
  37. <result column="transaction_type" jdbcType="VARCHAR" property="transactionType" />
  38. <result column="ent_order_code" jdbcType="VARCHAR" property="entOrderCode" />
  39. <result column="use_way" jdbcType="VARCHAR" property="useWay" />
  40. <result column="remark" jdbcType="VARCHAR" property="remark" />
  41. <result column="check_mark" jdbcType="VARCHAR" property="checkMark" />
  42. <result column="pay_mark" jdbcType="VARCHAR" property="payMark" />
  43. </resultMap>
  44. <sql id="Example_Where_Clause">
  45. <where>
  46. <foreach collection="oredCriteria" item="criteria" separator="or">
  47. <if test="criteria.valid">
  48. <trim prefix="(" prefixOverrides="and" suffix=")">
  49. <foreach collection="criteria.criteria" item="criterion">
  50. <choose>
  51. <when test="criterion.noValue">
  52. and ${criterion.condition}
  53. </when>
  54. <when test="criterion.singleValue">
  55. and ${criterion.condition} #{criterion.value}
  56. </when>
  57. <when test="criterion.betweenValue">
  58. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  59. </when>
  60. <when test="criterion.listValue">
  61. and ${criterion.condition}
  62. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  63. #{listItem}
  64. </foreach>
  65. </when>
  66. </choose>
  67. </foreach>
  68. </trim>
  69. </if>
  70. </foreach>
  71. </where>
  72. </sql>
  73. <sql id="Update_By_Example_Where_Clause">
  74. <where>
  75. <foreach collection="example.oredCriteria" item="criteria" separator="or">
  76. <if test="criteria.valid">
  77. <trim prefix="(" prefixOverrides="and" suffix=")">
  78. <foreach collection="criteria.criteria" item="criterion">
  79. <choose>
  80. <when test="criterion.noValue">
  81. and ${criterion.condition}
  82. </when>
  83. <when test="criterion.singleValue">
  84. and ${criterion.condition} #{criterion.value}
  85. </when>
  86. <when test="criterion.betweenValue">
  87. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  88. </when>
  89. <when test="criterion.listValue">
  90. and ${criterion.condition}
  91. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  92. #{listItem}
  93. </foreach>
  94. </when>
  95. </choose>
  96. </foreach>
  97. </trim>
  98. </if>
  99. </foreach>
  100. </where>
  101. </sql>
  102. <sql id="Base_Column_List">
  103. guid, fk_transfer_detail_id, fk_user_id, user_id, submitter, authorizer, cha_serial_no,
  104. ent_serial_no, currency, pay_amount, pay_bank_name, pay_account, pay_name, pay_date,
  105. pay_serial, hand_fee_type, pay_status, pay_msg, pay_response_code, fail_reson, account_money,
  106. hand_fee, post_fee, create_time, status, serial_no, service_id, session_id, req_time,
  107. ret_code, error_msg, urgent_sign, transaction_type, ent_order_code, use_way, remark,
  108. check_mark, pay_mark
  109. </sql>
  110. <select id="selectByExample" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequestExample" resultMap="BaseResultMap">
  111. select
  112. <if test="distinct">
  113. distinct
  114. </if>
  115. <include refid="Base_Column_List" />
  116. from b_transfer_detail_request
  117. <if test="_parameter != null">
  118. <include refid="Example_Where_Clause" />
  119. </if>
  120. <if test="orderByClause != null">
  121. order by ${orderByClause}
  122. </if>
  123. </select>
  124. <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
  125. select
  126. <include refid="Base_Column_List" />
  127. from b_transfer_detail_request
  128. where guid = #{guid,jdbcType=BIGINT}
  129. </select>
  130. <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
  131. delete from b_transfer_detail_request
  132. where guid = #{guid,jdbcType=BIGINT}
  133. </delete>
  134. <delete id="deleteByExample" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequestExample">
  135. delete from b_transfer_detail_request
  136. <if test="_parameter != null">
  137. <include refid="Example_Where_Clause" />
  138. </if>
  139. </delete>
  140. <insert id="insert" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequest">
  141. <selectKey keyProperty="guid" order="AFTER" resultType="java.lang.Long">
  142. SELECT LAST_INSERT_ID()
  143. </selectKey>
  144. insert into b_transfer_detail_request (fk_transfer_detail_id, fk_user_id, user_id,
  145. submitter, authorizer, cha_serial_no,
  146. ent_serial_no, currency, pay_amount,
  147. pay_bank_name, pay_account, pay_name,
  148. pay_date, pay_serial, hand_fee_type,
  149. pay_status, pay_msg, pay_response_code,
  150. fail_reson, account_money, hand_fee,
  151. post_fee, create_time, status,
  152. serial_no, service_id, session_id,
  153. req_time, ret_code, error_msg,
  154. urgent_sign, transaction_type, ent_order_code,
  155. use_way, remark, check_mark,
  156. pay_mark)
  157. values (#{fkTransferDetailId,jdbcType=BIGINT}, #{fkUserId,jdbcType=BIGINT}, #{userId,jdbcType=VARCHAR},
  158. #{submitter,jdbcType=VARCHAR}, #{authorizer,jdbcType=VARCHAR}, #{chaSerialNo,jdbcType=VARCHAR},
  159. #{entSerialNo,jdbcType=VARCHAR}, #{currency,jdbcType=VARCHAR}, #{payAmount,jdbcType=DECIMAL},
  160. #{payBankName,jdbcType=VARCHAR}, #{payAccount,jdbcType=VARCHAR}, #{payName,jdbcType=VARCHAR},
  161. #{payDate,jdbcType=VARCHAR}, #{paySerial,jdbcType=VARCHAR}, #{handFeeType,jdbcType=VARCHAR},
  162. #{payStatus,jdbcType=VARCHAR}, #{payMsg,jdbcType=VARCHAR}, #{payResponseCode,jdbcType=VARCHAR},
  163. #{failReson,jdbcType=VARCHAR}, #{accountMoney,jdbcType=DECIMAL}, #{handFee,jdbcType=DECIMAL},
  164. #{postFee,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER},
  165. #{serialNo,jdbcType=VARCHAR}, #{serviceId,jdbcType=VARCHAR}, #{sessionId,jdbcType=VARCHAR},
  166. #{reqTime,jdbcType=VARCHAR}, #{retCode,jdbcType=VARCHAR}, #{errorMsg,jdbcType=VARCHAR},
  167. #{urgentSign,jdbcType=VARCHAR}, #{transactionType,jdbcType=VARCHAR}, #{entOrderCode,jdbcType=VARCHAR},
  168. #{useWay,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{checkMark,jdbcType=VARCHAR},
  169. #{payMark,jdbcType=VARCHAR})
  170. </insert>
  171. <insert id="insertSelective" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequest">
  172. <selectKey keyProperty="guid" order="AFTER" resultType="java.lang.Long">
  173. SELECT LAST_INSERT_ID()
  174. </selectKey>
  175. insert into b_transfer_detail_request
  176. <trim prefix="(" suffix=")" suffixOverrides=",">
  177. <if test="fkTransferDetailId != null">
  178. fk_transfer_detail_id,
  179. </if>
  180. <if test="fkUserId != null">
  181. fk_user_id,
  182. </if>
  183. <if test="userId != null">
  184. user_id,
  185. </if>
  186. <if test="submitter != null">
  187. submitter,
  188. </if>
  189. <if test="authorizer != null">
  190. authorizer,
  191. </if>
  192. <if test="chaSerialNo != null">
  193. cha_serial_no,
  194. </if>
  195. <if test="entSerialNo != null">
  196. ent_serial_no,
  197. </if>
  198. <if test="currency != null">
  199. currency,
  200. </if>
  201. <if test="payAmount != null">
  202. pay_amount,
  203. </if>
  204. <if test="payBankName != null">
  205. pay_bank_name,
  206. </if>
  207. <if test="payAccount != null">
  208. pay_account,
  209. </if>
  210. <if test="payName != null">
  211. pay_name,
  212. </if>
  213. <if test="payDate != null">
  214. pay_date,
  215. </if>
  216. <if test="paySerial != null">
  217. pay_serial,
  218. </if>
  219. <if test="handFeeType != null">
  220. hand_fee_type,
  221. </if>
  222. <if test="payStatus != null">
  223. pay_status,
  224. </if>
  225. <if test="payMsg != null">
  226. pay_msg,
  227. </if>
  228. <if test="payResponseCode != null">
  229. pay_response_code,
  230. </if>
  231. <if test="failReson != null">
  232. fail_reson,
  233. </if>
  234. <if test="accountMoney != null">
  235. account_money,
  236. </if>
  237. <if test="handFee != null">
  238. hand_fee,
  239. </if>
  240. <if test="postFee != null">
  241. post_fee,
  242. </if>
  243. <if test="createTime != null">
  244. create_time,
  245. </if>
  246. <if test="status != null">
  247. status,
  248. </if>
  249. <if test="serialNo != null">
  250. serial_no,
  251. </if>
  252. <if test="serviceId != null">
  253. service_id,
  254. </if>
  255. <if test="sessionId != null">
  256. session_id,
  257. </if>
  258. <if test="reqTime != null">
  259. req_time,
  260. </if>
  261. <if test="retCode != null">
  262. ret_code,
  263. </if>
  264. <if test="errorMsg != null">
  265. error_msg,
  266. </if>
  267. <if test="urgentSign != null">
  268. urgent_sign,
  269. </if>
  270. <if test="transactionType != null">
  271. transaction_type,
  272. </if>
  273. <if test="entOrderCode != null">
  274. ent_order_code,
  275. </if>
  276. <if test="useWay != null">
  277. use_way,
  278. </if>
  279. <if test="remark != null">
  280. remark,
  281. </if>
  282. <if test="checkMark != null">
  283. check_mark,
  284. </if>
  285. <if test="payMark != null">
  286. pay_mark,
  287. </if>
  288. </trim>
  289. <trim prefix="values (" suffix=")" suffixOverrides=",">
  290. <if test="fkTransferDetailId != null">
  291. #{fkTransferDetailId,jdbcType=BIGINT},
  292. </if>
  293. <if test="fkUserId != null">
  294. #{fkUserId,jdbcType=BIGINT},
  295. </if>
  296. <if test="userId != null">
  297. #{userId,jdbcType=VARCHAR},
  298. </if>
  299. <if test="submitter != null">
  300. #{submitter,jdbcType=VARCHAR},
  301. </if>
  302. <if test="authorizer != null">
  303. #{authorizer,jdbcType=VARCHAR},
  304. </if>
  305. <if test="chaSerialNo != null">
  306. #{chaSerialNo,jdbcType=VARCHAR},
  307. </if>
  308. <if test="entSerialNo != null">
  309. #{entSerialNo,jdbcType=VARCHAR},
  310. </if>
  311. <if test="currency != null">
  312. #{currency,jdbcType=VARCHAR},
  313. </if>
  314. <if test="payAmount != null">
  315. #{payAmount,jdbcType=DECIMAL},
  316. </if>
  317. <if test="payBankName != null">
  318. #{payBankName,jdbcType=VARCHAR},
  319. </if>
  320. <if test="payAccount != null">
  321. #{payAccount,jdbcType=VARCHAR},
  322. </if>
  323. <if test="payName != null">
  324. #{payName,jdbcType=VARCHAR},
  325. </if>
  326. <if test="payDate != null">
  327. #{payDate,jdbcType=VARCHAR},
  328. </if>
  329. <if test="paySerial != null">
  330. #{paySerial,jdbcType=VARCHAR},
  331. </if>
  332. <if test="handFeeType != null">
  333. #{handFeeType,jdbcType=VARCHAR},
  334. </if>
  335. <if test="payStatus != null">
  336. #{payStatus,jdbcType=VARCHAR},
  337. </if>
  338. <if test="payMsg != null">
  339. #{payMsg,jdbcType=VARCHAR},
  340. </if>
  341. <if test="payResponseCode != null">
  342. #{payResponseCode,jdbcType=VARCHAR},
  343. </if>
  344. <if test="failReson != null">
  345. #{failReson,jdbcType=VARCHAR},
  346. </if>
  347. <if test="accountMoney != null">
  348. #{accountMoney,jdbcType=DECIMAL},
  349. </if>
  350. <if test="handFee != null">
  351. #{handFee,jdbcType=DECIMAL},
  352. </if>
  353. <if test="postFee != null">
  354. #{postFee,jdbcType=DECIMAL},
  355. </if>
  356. <if test="createTime != null">
  357. #{createTime,jdbcType=TIMESTAMP},
  358. </if>
  359. <if test="status != null">
  360. #{status,jdbcType=INTEGER},
  361. </if>
  362. <if test="serialNo != null">
  363. #{serialNo,jdbcType=VARCHAR},
  364. </if>
  365. <if test="serviceId != null">
  366. #{serviceId,jdbcType=VARCHAR},
  367. </if>
  368. <if test="sessionId != null">
  369. #{sessionId,jdbcType=VARCHAR},
  370. </if>
  371. <if test="reqTime != null">
  372. #{reqTime,jdbcType=VARCHAR},
  373. </if>
  374. <if test="retCode != null">
  375. #{retCode,jdbcType=VARCHAR},
  376. </if>
  377. <if test="errorMsg != null">
  378. #{errorMsg,jdbcType=VARCHAR},
  379. </if>
  380. <if test="urgentSign != null">
  381. #{urgentSign,jdbcType=VARCHAR},
  382. </if>
  383. <if test="transactionType != null">
  384. #{transactionType,jdbcType=VARCHAR},
  385. </if>
  386. <if test="entOrderCode != null">
  387. #{entOrderCode,jdbcType=VARCHAR},
  388. </if>
  389. <if test="useWay != null">
  390. #{useWay,jdbcType=VARCHAR},
  391. </if>
  392. <if test="remark != null">
  393. #{remark,jdbcType=VARCHAR},
  394. </if>
  395. <if test="checkMark != null">
  396. #{checkMark,jdbcType=VARCHAR},
  397. </if>
  398. <if test="payMark != null">
  399. #{payMark,jdbcType=VARCHAR},
  400. </if>
  401. </trim>
  402. </insert>
  403. <select id="countByExample" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequestExample" resultType="java.lang.Long">
  404. select count(*) from b_transfer_detail_request
  405. <if test="_parameter != null">
  406. <include refid="Example_Where_Clause" />
  407. </if>
  408. </select>
  409. <update id="updateByExampleSelective" parameterType="map">
  410. update b_transfer_detail_request
  411. <set>
  412. <if test="record.guid != null">
  413. guid = #{record.guid,jdbcType=BIGINT},
  414. </if>
  415. <if test="record.fkTransferDetailId != null">
  416. fk_transfer_detail_id = #{record.fkTransferDetailId,jdbcType=BIGINT},
  417. </if>
  418. <if test="record.fkUserId != null">
  419. fk_user_id = #{record.fkUserId,jdbcType=BIGINT},
  420. </if>
  421. <if test="record.userId != null">
  422. user_id = #{record.userId,jdbcType=VARCHAR},
  423. </if>
  424. <if test="record.submitter != null">
  425. submitter = #{record.submitter,jdbcType=VARCHAR},
  426. </if>
  427. <if test="record.authorizer != null">
  428. authorizer = #{record.authorizer,jdbcType=VARCHAR},
  429. </if>
  430. <if test="record.chaSerialNo != null">
  431. cha_serial_no = #{record.chaSerialNo,jdbcType=VARCHAR},
  432. </if>
  433. <if test="record.entSerialNo != null">
  434. ent_serial_no = #{record.entSerialNo,jdbcType=VARCHAR},
  435. </if>
  436. <if test="record.currency != null">
  437. currency = #{record.currency,jdbcType=VARCHAR},
  438. </if>
  439. <if test="record.payAmount != null">
  440. pay_amount = #{record.payAmount,jdbcType=DECIMAL},
  441. </if>
  442. <if test="record.payBankName != null">
  443. pay_bank_name = #{record.payBankName,jdbcType=VARCHAR},
  444. </if>
  445. <if test="record.payAccount != null">
  446. pay_account = #{record.payAccount,jdbcType=VARCHAR},
  447. </if>
  448. <if test="record.payName != null">
  449. pay_name = #{record.payName,jdbcType=VARCHAR},
  450. </if>
  451. <if test="record.payDate != null">
  452. pay_date = #{record.payDate,jdbcType=VARCHAR},
  453. </if>
  454. <if test="record.paySerial != null">
  455. pay_serial = #{record.paySerial,jdbcType=VARCHAR},
  456. </if>
  457. <if test="record.handFeeType != null">
  458. hand_fee_type = #{record.handFeeType,jdbcType=VARCHAR},
  459. </if>
  460. <if test="record.payStatus != null">
  461. pay_status = #{record.payStatus,jdbcType=VARCHAR},
  462. </if>
  463. <if test="record.payMsg != null">
  464. pay_msg = #{record.payMsg,jdbcType=VARCHAR},
  465. </if>
  466. <if test="record.payResponseCode != null">
  467. pay_response_code = #{record.payResponseCode,jdbcType=VARCHAR},
  468. </if>
  469. <if test="record.failReson != null">
  470. fail_reson = #{record.failReson,jdbcType=VARCHAR},
  471. </if>
  472. <if test="record.accountMoney != null">
  473. account_money = #{record.accountMoney,jdbcType=DECIMAL},
  474. </if>
  475. <if test="record.handFee != null">
  476. hand_fee = #{record.handFee,jdbcType=DECIMAL},
  477. </if>
  478. <if test="record.postFee != null">
  479. post_fee = #{record.postFee,jdbcType=DECIMAL},
  480. </if>
  481. <if test="record.createTime != null">
  482. create_time = #{record.createTime,jdbcType=TIMESTAMP},
  483. </if>
  484. <if test="record.status != null">
  485. status = #{record.status,jdbcType=INTEGER},
  486. </if>
  487. <if test="record.serialNo != null">
  488. serial_no = #{record.serialNo,jdbcType=VARCHAR},
  489. </if>
  490. <if test="record.serviceId != null">
  491. service_id = #{record.serviceId,jdbcType=VARCHAR},
  492. </if>
  493. <if test="record.sessionId != null">
  494. session_id = #{record.sessionId,jdbcType=VARCHAR},
  495. </if>
  496. <if test="record.reqTime != null">
  497. req_time = #{record.reqTime,jdbcType=VARCHAR},
  498. </if>
  499. <if test="record.retCode != null">
  500. ret_code = #{record.retCode,jdbcType=VARCHAR},
  501. </if>
  502. <if test="record.errorMsg != null">
  503. error_msg = #{record.errorMsg,jdbcType=VARCHAR},
  504. </if>
  505. <if test="record.urgentSign != null">
  506. urgent_sign = #{record.urgentSign,jdbcType=VARCHAR},
  507. </if>
  508. <if test="record.transactionType != null">
  509. transaction_type = #{record.transactionType,jdbcType=VARCHAR},
  510. </if>
  511. <if test="record.entOrderCode != null">
  512. ent_order_code = #{record.entOrderCode,jdbcType=VARCHAR},
  513. </if>
  514. <if test="record.useWay != null">
  515. use_way = #{record.useWay,jdbcType=VARCHAR},
  516. </if>
  517. <if test="record.remark != null">
  518. remark = #{record.remark,jdbcType=VARCHAR},
  519. </if>
  520. <if test="record.checkMark != null">
  521. check_mark = #{record.checkMark,jdbcType=VARCHAR},
  522. </if>
  523. <if test="record.payMark != null">
  524. pay_mark = #{record.payMark,jdbcType=VARCHAR},
  525. </if>
  526. </set>
  527. <if test="_parameter != null">
  528. <include refid="Update_By_Example_Where_Clause" />
  529. </if>
  530. </update>
  531. <update id="updateByExample" parameterType="map">
  532. update b_transfer_detail_request
  533. set guid = #{record.guid,jdbcType=BIGINT},
  534. fk_transfer_detail_id = #{record.fkTransferDetailId,jdbcType=BIGINT},
  535. fk_user_id = #{record.fkUserId,jdbcType=BIGINT},
  536. user_id = #{record.userId,jdbcType=VARCHAR},
  537. submitter = #{record.submitter,jdbcType=VARCHAR},
  538. authorizer = #{record.authorizer,jdbcType=VARCHAR},
  539. cha_serial_no = #{record.chaSerialNo,jdbcType=VARCHAR},
  540. ent_serial_no = #{record.entSerialNo,jdbcType=VARCHAR},
  541. currency = #{record.currency,jdbcType=VARCHAR},
  542. pay_amount = #{record.payAmount,jdbcType=DECIMAL},
  543. pay_bank_name = #{record.payBankName,jdbcType=VARCHAR},
  544. pay_account = #{record.payAccount,jdbcType=VARCHAR},
  545. pay_name = #{record.payName,jdbcType=VARCHAR},
  546. pay_date = #{record.payDate,jdbcType=VARCHAR},
  547. pay_serial = #{record.paySerial,jdbcType=VARCHAR},
  548. hand_fee_type = #{record.handFeeType,jdbcType=VARCHAR},
  549. pay_status = #{record.payStatus,jdbcType=VARCHAR},
  550. pay_msg = #{record.payMsg,jdbcType=VARCHAR},
  551. pay_response_code = #{record.payResponseCode,jdbcType=VARCHAR},
  552. fail_reson = #{record.failReson,jdbcType=VARCHAR},
  553. account_money = #{record.accountMoney,jdbcType=DECIMAL},
  554. hand_fee = #{record.handFee,jdbcType=DECIMAL},
  555. post_fee = #{record.postFee,jdbcType=DECIMAL},
  556. create_time = #{record.createTime,jdbcType=TIMESTAMP},
  557. status = #{record.status,jdbcType=INTEGER},
  558. serial_no = #{record.serialNo,jdbcType=VARCHAR},
  559. service_id = #{record.serviceId,jdbcType=VARCHAR},
  560. session_id = #{record.sessionId,jdbcType=VARCHAR},
  561. req_time = #{record.reqTime,jdbcType=VARCHAR},
  562. ret_code = #{record.retCode,jdbcType=VARCHAR},
  563. error_msg = #{record.errorMsg,jdbcType=VARCHAR},
  564. urgent_sign = #{record.urgentSign,jdbcType=VARCHAR},
  565. transaction_type = #{record.transactionType,jdbcType=VARCHAR},
  566. ent_order_code = #{record.entOrderCode,jdbcType=VARCHAR},
  567. use_way = #{record.useWay,jdbcType=VARCHAR},
  568. remark = #{record.remark,jdbcType=VARCHAR},
  569. check_mark = #{record.checkMark,jdbcType=VARCHAR},
  570. pay_mark = #{record.payMark,jdbcType=VARCHAR}
  571. <if test="_parameter != null">
  572. <include refid="Update_By_Example_Where_Clause" />
  573. </if>
  574. </update>
  575. <update id="updateByPrimaryKeySelective" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequest">
  576. update b_transfer_detail_request
  577. <set>
  578. <if test="fkTransferDetailId != null">
  579. fk_transfer_detail_id = #{fkTransferDetailId,jdbcType=BIGINT},
  580. </if>
  581. <if test="fkUserId != null">
  582. fk_user_id = #{fkUserId,jdbcType=BIGINT},
  583. </if>
  584. <if test="userId != null">
  585. user_id = #{userId,jdbcType=VARCHAR},
  586. </if>
  587. <if test="submitter != null">
  588. submitter = #{submitter,jdbcType=VARCHAR},
  589. </if>
  590. <if test="authorizer != null">
  591. authorizer = #{authorizer,jdbcType=VARCHAR},
  592. </if>
  593. <if test="chaSerialNo != null">
  594. cha_serial_no = #{chaSerialNo,jdbcType=VARCHAR},
  595. </if>
  596. <if test="entSerialNo != null">
  597. ent_serial_no = #{entSerialNo,jdbcType=VARCHAR},
  598. </if>
  599. <if test="currency != null">
  600. currency = #{currency,jdbcType=VARCHAR},
  601. </if>
  602. <if test="payAmount != null">
  603. pay_amount = #{payAmount,jdbcType=DECIMAL},
  604. </if>
  605. <if test="payBankName != null">
  606. pay_bank_name = #{payBankName,jdbcType=VARCHAR},
  607. </if>
  608. <if test="payAccount != null">
  609. pay_account = #{payAccount,jdbcType=VARCHAR},
  610. </if>
  611. <if test="payName != null">
  612. pay_name = #{payName,jdbcType=VARCHAR},
  613. </if>
  614. <if test="payDate != null">
  615. pay_date = #{payDate,jdbcType=VARCHAR},
  616. </if>
  617. <if test="paySerial != null">
  618. pay_serial = #{paySerial,jdbcType=VARCHAR},
  619. </if>
  620. <if test="handFeeType != null">
  621. hand_fee_type = #{handFeeType,jdbcType=VARCHAR},
  622. </if>
  623. <if test="payStatus != null">
  624. pay_status = #{payStatus,jdbcType=VARCHAR},
  625. </if>
  626. <if test="payMsg != null">
  627. pay_msg = #{payMsg,jdbcType=VARCHAR},
  628. </if>
  629. <if test="payResponseCode != null">
  630. pay_response_code = #{payResponseCode,jdbcType=VARCHAR},
  631. </if>
  632. <if test="failReson != null">
  633. fail_reson = #{failReson,jdbcType=VARCHAR},
  634. </if>
  635. <if test="accountMoney != null">
  636. account_money = #{accountMoney,jdbcType=DECIMAL},
  637. </if>
  638. <if test="handFee != null">
  639. hand_fee = #{handFee,jdbcType=DECIMAL},
  640. </if>
  641. <if test="postFee != null">
  642. post_fee = #{postFee,jdbcType=DECIMAL},
  643. </if>
  644. <if test="createTime != null">
  645. create_time = #{createTime,jdbcType=TIMESTAMP},
  646. </if>
  647. <if test="status != null">
  648. status = #{status,jdbcType=INTEGER},
  649. </if>
  650. <if test="serialNo != null">
  651. serial_no = #{serialNo,jdbcType=VARCHAR},
  652. </if>
  653. <if test="serviceId != null">
  654. service_id = #{serviceId,jdbcType=VARCHAR},
  655. </if>
  656. <if test="sessionId != null">
  657. session_id = #{sessionId,jdbcType=VARCHAR},
  658. </if>
  659. <if test="reqTime != null">
  660. req_time = #{reqTime,jdbcType=VARCHAR},
  661. </if>
  662. <if test="retCode != null">
  663. ret_code = #{retCode,jdbcType=VARCHAR},
  664. </if>
  665. <if test="errorMsg != null">
  666. error_msg = #{errorMsg,jdbcType=VARCHAR},
  667. </if>
  668. <if test="urgentSign != null">
  669. urgent_sign = #{urgentSign,jdbcType=VARCHAR},
  670. </if>
  671. <if test="transactionType != null">
  672. transaction_type = #{transactionType,jdbcType=VARCHAR},
  673. </if>
  674. <if test="entOrderCode != null">
  675. ent_order_code = #{entOrderCode,jdbcType=VARCHAR},
  676. </if>
  677. <if test="useWay != null">
  678. use_way = #{useWay,jdbcType=VARCHAR},
  679. </if>
  680. <if test="remark != null">
  681. remark = #{remark,jdbcType=VARCHAR},
  682. </if>
  683. <if test="checkMark != null">
  684. check_mark = #{checkMark,jdbcType=VARCHAR},
  685. </if>
  686. <if test="payMark != null">
  687. pay_mark = #{payMark,jdbcType=VARCHAR},
  688. </if>
  689. </set>
  690. where guid = #{guid,jdbcType=BIGINT}
  691. </update>
  692. <update id="updateByPrimaryKey" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequest">
  693. update b_transfer_detail_request
  694. set fk_transfer_detail_id = #{fkTransferDetailId,jdbcType=BIGINT},
  695. fk_user_id = #{fkUserId,jdbcType=BIGINT},
  696. user_id = #{userId,jdbcType=VARCHAR},
  697. submitter = #{submitter,jdbcType=VARCHAR},
  698. authorizer = #{authorizer,jdbcType=VARCHAR},
  699. cha_serial_no = #{chaSerialNo,jdbcType=VARCHAR},
  700. ent_serial_no = #{entSerialNo,jdbcType=VARCHAR},
  701. currency = #{currency,jdbcType=VARCHAR},
  702. pay_amount = #{payAmount,jdbcType=DECIMAL},
  703. pay_bank_name = #{payBankName,jdbcType=VARCHAR},
  704. pay_account = #{payAccount,jdbcType=VARCHAR},
  705. pay_name = #{payName,jdbcType=VARCHAR},
  706. pay_date = #{payDate,jdbcType=VARCHAR},
  707. pay_serial = #{paySerial,jdbcType=VARCHAR},
  708. hand_fee_type = #{handFeeType,jdbcType=VARCHAR},
  709. pay_status = #{payStatus,jdbcType=VARCHAR},
  710. pay_msg = #{payMsg,jdbcType=VARCHAR},
  711. pay_response_code = #{payResponseCode,jdbcType=VARCHAR},
  712. fail_reson = #{failReson,jdbcType=VARCHAR},
  713. account_money = #{accountMoney,jdbcType=DECIMAL},
  714. hand_fee = #{handFee,jdbcType=DECIMAL},
  715. post_fee = #{postFee,jdbcType=DECIMAL},
  716. create_time = #{createTime,jdbcType=TIMESTAMP},
  717. status = #{status,jdbcType=INTEGER},
  718. serial_no = #{serialNo,jdbcType=VARCHAR},
  719. service_id = #{serviceId,jdbcType=VARCHAR},
  720. session_id = #{sessionId,jdbcType=VARCHAR},
  721. req_time = #{reqTime,jdbcType=VARCHAR},
  722. ret_code = #{retCode,jdbcType=VARCHAR},
  723. error_msg = #{errorMsg,jdbcType=VARCHAR},
  724. urgent_sign = #{urgentSign,jdbcType=VARCHAR},
  725. transaction_type = #{transactionType,jdbcType=VARCHAR},
  726. ent_order_code = #{entOrderCode,jdbcType=VARCHAR},
  727. use_way = #{useWay,jdbcType=VARCHAR},
  728. remark = #{remark,jdbcType=VARCHAR},
  729. check_mark = #{checkMark,jdbcType=VARCHAR},
  730. pay_mark = #{payMark,jdbcType=VARCHAR}
  731. where guid = #{guid,jdbcType=BIGINT}
  732. </update>
  733. </mapper>