BTransferFarmerRequestMapper.xml 27 KB

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