123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.hcloud.microserver.mbg.mapper.BTransferFarmerRequestMapper">
- <resultMap id="BaseResultMap" type="com.hcloud.microserver.mbg.modul.BTransferFarmerRequest">
- <id column="guid" jdbcType="BIGINT" property="guid" />
- <result column="user_id" jdbcType="VARCHAR" property="userId" />
- <result column="fk_user_id" jdbcType="BIGINT" property="fkUserId" />
- <result column="fk_transfer_id" jdbcType="BIGINT" property="fkTransferId" />
- <result column="ent_serial_no" jdbcType="VARCHAR" property="entSerialNo" />
- <result column="cha_serial_no" jdbcType="VARCHAR" property="chaSerialNo" />
- <result column="submitter" jdbcType="VARCHAR" property="submitter" />
- <result column="authorizer" jdbcType="VARCHAR" property="authorizer" />
- <result column="pay_account" jdbcType="VARCHAR" property="payAccount" />
- <result column="business _type" jdbcType="VARCHAR" property="businessType" />
- <result column="tran_month" jdbcType="VARCHAR" property="tranMonth" />
- <result column="pay_amount" jdbcType="DECIMAL" property="payAmount" />
- <result column="ent_order_code" jdbcType="VARCHAR" property="entOrderCode" />
- <result column="op_method" jdbcType="VARCHAR" property="opMethod" />
- <result column="currency" jdbcType="VARCHAR" property="currency" />
- <result column="batch_notes" jdbcType="VARCHAR" property="batchNotes" />
- <result column="pay_name" jdbcType="VARCHAR" property="payName" />
- <result column="pay_status" jdbcType="VARCHAR" property="payStatus" />
- <result column="pay_msg" jdbcType="VARCHAR" property="payMsg" />
- <result column="pay_response_code" jdbcType="VARCHAR" property="payResponseCode" />
- <result column="fail_reson" jdbcType="VARCHAR" property="failReson" />
- <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
- <result column="status" jdbcType="INTEGER" property="status" />
- <result column="serial_no" jdbcType="VARCHAR" property="serialNo" />
- <result column="service_id" jdbcType="VARCHAR" property="serviceId" />
- <result column="session_id" jdbcType="VARCHAR" property="sessionId" />
- <result column="req_time" jdbcType="VARCHAR" property="reqTime" />
- <result column="ret_code" jdbcType="VARCHAR" property="retCode" />
- <result column="error_msg" jdbcType="VARCHAR" property="errorMsg" />
- <result column="code" jdbcType="VARCHAR" property="code" />
- <result column="msg" jdbcType="VARCHAR" property="msg" />
- <result column="success_tran" jdbcType="INTEGER" property="successTran" />
- <result column="success_amount" jdbcType="DECIMAL" property="successAmount" />
- <result column="tran_num" jdbcType="INTEGER" property="tranNum" />
- <result column="detail_display" jdbcType="VARCHAR" property="detailDisplay" />
- <result column="transcation_type" jdbcType="VARCHAR" property="transcationType" />
- </resultMap>
- <sql id="Example_Where_Clause">
- <where>
- <foreach collection="oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <foreach collection="criteria.criteria" item="criterion">
- <choose>
- <when test="criterion.noValue">
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue">
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue">
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue">
- and ${criterion.condition}
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Update_By_Example_Where_Clause">
- <where>
- <foreach collection="example.oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <foreach collection="criteria.criteria" item="criterion">
- <choose>
- <when test="criterion.noValue">
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue">
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue">
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue">
- and ${criterion.condition}
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Base_Column_List">
- guid, user_id, fk_user_id, fk_transfer_id, ent_serial_no, cha_serial_no, submitter,
- authorizer, pay_account, `business _type`, tran_month, pay_amount, ent_order_code,
- op_method, currency, batch_notes, pay_name, pay_status, pay_msg, pay_response_code,
- fail_reson, create_time, status, serial_no, service_id, session_id, req_time, ret_code,
- error_msg, code, msg, success_tran, success_amount, tran_num, detail_display, transcation_type
- </sql>
- <select id="selectByExample" parameterType="com.hcloud.microserver.mbg.modul.BTransferFarmerRequestExample" resultMap="BaseResultMap">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- from b_transfer_farmer_request
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- </select>
- <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
- select
- <include refid="Base_Column_List" />
- from b_transfer_farmer_request
- where guid = #{guid,jdbcType=BIGINT}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
- delete from b_transfer_farmer_request
- where guid = #{guid,jdbcType=BIGINT}
- </delete>
- <delete id="deleteByExample" parameterType="com.hcloud.microserver.mbg.modul.BTransferFarmerRequestExample">
- delete from b_transfer_farmer_request
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.hcloud.microserver.mbg.modul.BTransferFarmerRequest">
- <selectKey keyProperty="guid" order="AFTER" resultType="java.lang.Long">
- SELECT LAST_INSERT_ID()
- </selectKey>
- insert into b_transfer_farmer_request (user_id, fk_user_id, fk_transfer_id,
- ent_serial_no, cha_serial_no, submitter,
- authorizer, pay_account, `business _type`,
- tran_month, pay_amount, ent_order_code,
- op_method, currency, batch_notes,
- pay_name, pay_status, pay_msg,
- pay_response_code, fail_reson, create_time,
- status, serial_no, service_id,
- session_id, req_time, ret_code,
- error_msg, code, msg,
- success_tran, success_amount, tran_num,
- detail_display, transcation_type)
- values (#{userId,jdbcType=VARCHAR}, #{fkUserId,jdbcType=BIGINT}, #{fkTransferId,jdbcType=BIGINT},
- #{entSerialNo,jdbcType=VARCHAR}, #{chaSerialNo,jdbcType=VARCHAR}, #{submitter,jdbcType=VARCHAR},
- #{authorizer,jdbcType=VARCHAR}, #{payAccount,jdbcType=VARCHAR}, #{businessType,jdbcType=VARCHAR},
- #{tranMonth,jdbcType=VARCHAR}, #{payAmount,jdbcType=DECIMAL}, #{entOrderCode,jdbcType=VARCHAR},
- #{opMethod,jdbcType=VARCHAR}, #{currency,jdbcType=VARCHAR}, #{batchNotes,jdbcType=VARCHAR},
- #{payName,jdbcType=VARCHAR}, #{payStatus,jdbcType=VARCHAR}, #{payMsg,jdbcType=VARCHAR},
- #{payResponseCode,jdbcType=VARCHAR}, #{failReson,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
- #{status,jdbcType=INTEGER}, #{serialNo,jdbcType=VARCHAR}, #{serviceId,jdbcType=VARCHAR},
- #{sessionId,jdbcType=VARCHAR}, #{reqTime,jdbcType=VARCHAR}, #{retCode,jdbcType=VARCHAR},
- #{errorMsg,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{msg,jdbcType=VARCHAR},
- #{successTran,jdbcType=INTEGER}, #{successAmount,jdbcType=DECIMAL}, #{tranNum,jdbcType=INTEGER},
- #{detailDisplay,jdbcType=VARCHAR}, #{transcationType,jdbcType=VARCHAR})
- </insert>
- <insert id="insertSelective" parameterType="com.hcloud.microserver.mbg.modul.BTransferFarmerRequest">
- <selectKey keyProperty="guid" order="AFTER" resultType="java.lang.Long">
- SELECT LAST_INSERT_ID()
- </selectKey>
- insert into b_transfer_farmer_request
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="userId != null">
- user_id,
- </if>
- <if test="fkUserId != null">
- fk_user_id,
- </if>
- <if test="fkTransferId != null">
- fk_transfer_id,
- </if>
- <if test="entSerialNo != null">
- ent_serial_no,
- </if>
- <if test="chaSerialNo != null">
- cha_serial_no,
- </if>
- <if test="submitter != null">
- submitter,
- </if>
- <if test="authorizer != null">
- authorizer,
- </if>
- <if test="payAccount != null">
- pay_account,
- </if>
- <if test="businessType != null">
- `business _type`,
- </if>
- <if test="tranMonth != null">
- tran_month,
- </if>
- <if test="payAmount != null">
- pay_amount,
- </if>
- <if test="entOrderCode != null">
- ent_order_code,
- </if>
- <if test="opMethod != null">
- op_method,
- </if>
- <if test="currency != null">
- currency,
- </if>
- <if test="batchNotes != null">
- batch_notes,
- </if>
- <if test="payName != null">
- pay_name,
- </if>
- <if test="payStatus != null">
- pay_status,
- </if>
- <if test="payMsg != null">
- pay_msg,
- </if>
- <if test="payResponseCode != null">
- pay_response_code,
- </if>
- <if test="failReson != null">
- fail_reson,
- </if>
- <if test="createTime != null">
- create_time,
- </if>
- <if test="status != null">
- status,
- </if>
- <if test="serialNo != null">
- serial_no,
- </if>
- <if test="serviceId != null">
- service_id,
- </if>
- <if test="sessionId != null">
- session_id,
- </if>
- <if test="reqTime != null">
- req_time,
- </if>
- <if test="retCode != null">
- ret_code,
- </if>
- <if test="errorMsg != null">
- error_msg,
- </if>
- <if test="code != null">
- code,
- </if>
- <if test="msg != null">
- msg,
- </if>
- <if test="successTran != null">
- success_tran,
- </if>
- <if test="successAmount != null">
- success_amount,
- </if>
- <if test="tranNum != null">
- tran_num,
- </if>
- <if test="detailDisplay != null">
- detail_display,
- </if>
- <if test="transcationType != null">
- transcation_type,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="userId != null">
- #{userId,jdbcType=VARCHAR},
- </if>
- <if test="fkUserId != null">
- #{fkUserId,jdbcType=BIGINT},
- </if>
- <if test="fkTransferId != null">
- #{fkTransferId,jdbcType=BIGINT},
- </if>
- <if test="entSerialNo != null">
- #{entSerialNo,jdbcType=VARCHAR},
- </if>
- <if test="chaSerialNo != null">
- #{chaSerialNo,jdbcType=VARCHAR},
- </if>
- <if test="submitter != null">
- #{submitter,jdbcType=VARCHAR},
- </if>
- <if test="authorizer != null">
- #{authorizer,jdbcType=VARCHAR},
- </if>
- <if test="payAccount != null">
- #{payAccount,jdbcType=VARCHAR},
- </if>
- <if test="businessType != null">
- #{businessType,jdbcType=VARCHAR},
- </if>
- <if test="tranMonth != null">
- #{tranMonth,jdbcType=VARCHAR},
- </if>
- <if test="payAmount != null">
- #{payAmount,jdbcType=DECIMAL},
- </if>
- <if test="entOrderCode != null">
- #{entOrderCode,jdbcType=VARCHAR},
- </if>
- <if test="opMethod != null">
- #{opMethod,jdbcType=VARCHAR},
- </if>
- <if test="currency != null">
- #{currency,jdbcType=VARCHAR},
- </if>
- <if test="batchNotes != null">
- #{batchNotes,jdbcType=VARCHAR},
- </if>
- <if test="payName != null">
- #{payName,jdbcType=VARCHAR},
- </if>
- <if test="payStatus != null">
- #{payStatus,jdbcType=VARCHAR},
- </if>
- <if test="payMsg != null">
- #{payMsg,jdbcType=VARCHAR},
- </if>
- <if test="payResponseCode != null">
- #{payResponseCode,jdbcType=VARCHAR},
- </if>
- <if test="failReson != null">
- #{failReson,jdbcType=VARCHAR},
- </if>
- <if test="createTime != null">
- #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="status != null">
- #{status,jdbcType=INTEGER},
- </if>
- <if test="serialNo != null">
- #{serialNo,jdbcType=VARCHAR},
- </if>
- <if test="serviceId != null">
- #{serviceId,jdbcType=VARCHAR},
- </if>
- <if test="sessionId != null">
- #{sessionId,jdbcType=VARCHAR},
- </if>
- <if test="reqTime != null">
- #{reqTime,jdbcType=VARCHAR},
- </if>
- <if test="retCode != null">
- #{retCode,jdbcType=VARCHAR},
- </if>
- <if test="errorMsg != null">
- #{errorMsg,jdbcType=VARCHAR},
- </if>
- <if test="code != null">
- #{code,jdbcType=VARCHAR},
- </if>
- <if test="msg != null">
- #{msg,jdbcType=VARCHAR},
- </if>
- <if test="successTran != null">
- #{successTran,jdbcType=INTEGER},
- </if>
- <if test="successAmount != null">
- #{successAmount,jdbcType=DECIMAL},
- </if>
- <if test="tranNum != null">
- #{tranNum,jdbcType=INTEGER},
- </if>
- <if test="detailDisplay != null">
- #{detailDisplay,jdbcType=VARCHAR},
- </if>
- <if test="transcationType != null">
- #{transcationType,jdbcType=VARCHAR},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="com.hcloud.microserver.mbg.modul.BTransferFarmerRequestExample" resultType="java.lang.Long">
- select count(*) from b_transfer_farmer_request
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map">
- update b_transfer_farmer_request
- <set>
- <if test="record.guid != null">
- guid = #{record.guid,jdbcType=BIGINT},
- </if>
- <if test="record.userId != null">
- user_id = #{record.userId,jdbcType=VARCHAR},
- </if>
- <if test="record.fkUserId != null">
- fk_user_id = #{record.fkUserId,jdbcType=BIGINT},
- </if>
- <if test="record.fkTransferId != null">
- fk_transfer_id = #{record.fkTransferId,jdbcType=BIGINT},
- </if>
- <if test="record.entSerialNo != null">
- ent_serial_no = #{record.entSerialNo,jdbcType=VARCHAR},
- </if>
- <if test="record.chaSerialNo != null">
- cha_serial_no = #{record.chaSerialNo,jdbcType=VARCHAR},
- </if>
- <if test="record.submitter != null">
- submitter = #{record.submitter,jdbcType=VARCHAR},
- </if>
- <if test="record.authorizer != null">
- authorizer = #{record.authorizer,jdbcType=VARCHAR},
- </if>
- <if test="record.payAccount != null">
- pay_account = #{record.payAccount,jdbcType=VARCHAR},
- </if>
- <if test="record.businessType != null">
- `business _type` = #{record.businessType,jdbcType=VARCHAR},
- </if>
- <if test="record.tranMonth != null">
- tran_month = #{record.tranMonth,jdbcType=VARCHAR},
- </if>
- <if test="record.payAmount != null">
- pay_amount = #{record.payAmount,jdbcType=DECIMAL},
- </if>
- <if test="record.entOrderCode != null">
- ent_order_code = #{record.entOrderCode,jdbcType=VARCHAR},
- </if>
- <if test="record.opMethod != null">
- op_method = #{record.opMethod,jdbcType=VARCHAR},
- </if>
- <if test="record.currency != null">
- currency = #{record.currency,jdbcType=VARCHAR},
- </if>
- <if test="record.batchNotes != null">
- batch_notes = #{record.batchNotes,jdbcType=VARCHAR},
- </if>
- <if test="record.payName != null">
- pay_name = #{record.payName,jdbcType=VARCHAR},
- </if>
- <if test="record.payStatus != null">
- pay_status = #{record.payStatus,jdbcType=VARCHAR},
- </if>
- <if test="record.payMsg != null">
- pay_msg = #{record.payMsg,jdbcType=VARCHAR},
- </if>
- <if test="record.payResponseCode != null">
- pay_response_code = #{record.payResponseCode,jdbcType=VARCHAR},
- </if>
- <if test="record.failReson != null">
- fail_reson = #{record.failReson,jdbcType=VARCHAR},
- </if>
- <if test="record.createTime != null">
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.status != null">
- status = #{record.status,jdbcType=INTEGER},
- </if>
- <if test="record.serialNo != null">
- serial_no = #{record.serialNo,jdbcType=VARCHAR},
- </if>
- <if test="record.serviceId != null">
- service_id = #{record.serviceId,jdbcType=VARCHAR},
- </if>
- <if test="record.sessionId != null">
- session_id = #{record.sessionId,jdbcType=VARCHAR},
- </if>
- <if test="record.reqTime != null">
- req_time = #{record.reqTime,jdbcType=VARCHAR},
- </if>
- <if test="record.retCode != null">
- ret_code = #{record.retCode,jdbcType=VARCHAR},
- </if>
- <if test="record.errorMsg != null">
- error_msg = #{record.errorMsg,jdbcType=VARCHAR},
- </if>
- <if test="record.code != null">
- code = #{record.code,jdbcType=VARCHAR},
- </if>
- <if test="record.msg != null">
- msg = #{record.msg,jdbcType=VARCHAR},
- </if>
- <if test="record.successTran != null">
- success_tran = #{record.successTran,jdbcType=INTEGER},
- </if>
- <if test="record.successAmount != null">
- success_amount = #{record.successAmount,jdbcType=DECIMAL},
- </if>
- <if test="record.tranNum != null">
- tran_num = #{record.tranNum,jdbcType=INTEGER},
- </if>
- <if test="record.detailDisplay != null">
- detail_display = #{record.detailDisplay,jdbcType=VARCHAR},
- </if>
- <if test="record.transcationType != null">
- transcation_type = #{record.transcationType,jdbcType=VARCHAR},
- </if>
- </set>
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExample" parameterType="map">
- update b_transfer_farmer_request
- set guid = #{record.guid,jdbcType=BIGINT},
- user_id = #{record.userId,jdbcType=VARCHAR},
- fk_user_id = #{record.fkUserId,jdbcType=BIGINT},
- fk_transfer_id = #{record.fkTransferId,jdbcType=BIGINT},
- ent_serial_no = #{record.entSerialNo,jdbcType=VARCHAR},
- cha_serial_no = #{record.chaSerialNo,jdbcType=VARCHAR},
- submitter = #{record.submitter,jdbcType=VARCHAR},
- authorizer = #{record.authorizer,jdbcType=VARCHAR},
- pay_account = #{record.payAccount,jdbcType=VARCHAR},
- `business _type` = #{record.businessType,jdbcType=VARCHAR},
- tran_month = #{record.tranMonth,jdbcType=VARCHAR},
- pay_amount = #{record.payAmount,jdbcType=DECIMAL},
- ent_order_code = #{record.entOrderCode,jdbcType=VARCHAR},
- op_method = #{record.opMethod,jdbcType=VARCHAR},
- currency = #{record.currency,jdbcType=VARCHAR},
- batch_notes = #{record.batchNotes,jdbcType=VARCHAR},
- pay_name = #{record.payName,jdbcType=VARCHAR},
- pay_status = #{record.payStatus,jdbcType=VARCHAR},
- pay_msg = #{record.payMsg,jdbcType=VARCHAR},
- pay_response_code = #{record.payResponseCode,jdbcType=VARCHAR},
- fail_reson = #{record.failReson,jdbcType=VARCHAR},
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
- status = #{record.status,jdbcType=INTEGER},
- serial_no = #{record.serialNo,jdbcType=VARCHAR},
- service_id = #{record.serviceId,jdbcType=VARCHAR},
- session_id = #{record.sessionId,jdbcType=VARCHAR},
- req_time = #{record.reqTime,jdbcType=VARCHAR},
- ret_code = #{record.retCode,jdbcType=VARCHAR},
- error_msg = #{record.errorMsg,jdbcType=VARCHAR},
- code = #{record.code,jdbcType=VARCHAR},
- msg = #{record.msg,jdbcType=VARCHAR},
- success_tran = #{record.successTran,jdbcType=INTEGER},
- success_amount = #{record.successAmount,jdbcType=DECIMAL},
- tran_num = #{record.tranNum,jdbcType=INTEGER},
- detail_display = #{record.detailDisplay,jdbcType=VARCHAR},
- transcation_type = #{record.transcationType,jdbcType=VARCHAR}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.hcloud.microserver.mbg.modul.BTransferFarmerRequest">
- update b_transfer_farmer_request
- <set>
- <if test="userId != null">
- user_id = #{userId,jdbcType=VARCHAR},
- </if>
- <if test="fkUserId != null">
- fk_user_id = #{fkUserId,jdbcType=BIGINT},
- </if>
- <if test="fkTransferId != null">
- fk_transfer_id = #{fkTransferId,jdbcType=BIGINT},
- </if>
- <if test="entSerialNo != null">
- ent_serial_no = #{entSerialNo,jdbcType=VARCHAR},
- </if>
- <if test="chaSerialNo != null">
- cha_serial_no = #{chaSerialNo,jdbcType=VARCHAR},
- </if>
- <if test="submitter != null">
- submitter = #{submitter,jdbcType=VARCHAR},
- </if>
- <if test="authorizer != null">
- authorizer = #{authorizer,jdbcType=VARCHAR},
- </if>
- <if test="payAccount != null">
- pay_account = #{payAccount,jdbcType=VARCHAR},
- </if>
- <if test="businessType != null">
- `business _type` = #{businessType,jdbcType=VARCHAR},
- </if>
- <if test="tranMonth != null">
- tran_month = #{tranMonth,jdbcType=VARCHAR},
- </if>
- <if test="payAmount != null">
- pay_amount = #{payAmount,jdbcType=DECIMAL},
- </if>
- <if test="entOrderCode != null">
- ent_order_code = #{entOrderCode,jdbcType=VARCHAR},
- </if>
- <if test="opMethod != null">
- op_method = #{opMethod,jdbcType=VARCHAR},
- </if>
- <if test="currency != null">
- currency = #{currency,jdbcType=VARCHAR},
- </if>
- <if test="batchNotes != null">
- batch_notes = #{batchNotes,jdbcType=VARCHAR},
- </if>
- <if test="payName != null">
- pay_name = #{payName,jdbcType=VARCHAR},
- </if>
- <if test="payStatus != null">
- pay_status = #{payStatus,jdbcType=VARCHAR},
- </if>
- <if test="payMsg != null">
- pay_msg = #{payMsg,jdbcType=VARCHAR},
- </if>
- <if test="payResponseCode != null">
- pay_response_code = #{payResponseCode,jdbcType=VARCHAR},
- </if>
- <if test="failReson != null">
- fail_reson = #{failReson,jdbcType=VARCHAR},
- </if>
- <if test="createTime != null">
- create_time = #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="status != null">
- status = #{status,jdbcType=INTEGER},
- </if>
- <if test="serialNo != null">
- serial_no = #{serialNo,jdbcType=VARCHAR},
- </if>
- <if test="serviceId != null">
- service_id = #{serviceId,jdbcType=VARCHAR},
- </if>
- <if test="sessionId != null">
- session_id = #{sessionId,jdbcType=VARCHAR},
- </if>
- <if test="reqTime != null">
- req_time = #{reqTime,jdbcType=VARCHAR},
- </if>
- <if test="retCode != null">
- ret_code = #{retCode,jdbcType=VARCHAR},
- </if>
- <if test="errorMsg != null">
- error_msg = #{errorMsg,jdbcType=VARCHAR},
- </if>
- <if test="code != null">
- code = #{code,jdbcType=VARCHAR},
- </if>
- <if test="msg != null">
- msg = #{msg,jdbcType=VARCHAR},
- </if>
- <if test="successTran != null">
- success_tran = #{successTran,jdbcType=INTEGER},
- </if>
- <if test="successAmount != null">
- success_amount = #{successAmount,jdbcType=DECIMAL},
- </if>
- <if test="tranNum != null">
- tran_num = #{tranNum,jdbcType=INTEGER},
- </if>
- <if test="detailDisplay != null">
- detail_display = #{detailDisplay,jdbcType=VARCHAR},
- </if>
- <if test="transcationType != null">
- transcation_type = #{transcationType,jdbcType=VARCHAR},
- </if>
- </set>
- where guid = #{guid,jdbcType=BIGINT}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.hcloud.microserver.mbg.modul.BTransferFarmerRequest">
- update b_transfer_farmer_request
- set user_id = #{userId,jdbcType=VARCHAR},
- fk_user_id = #{fkUserId,jdbcType=BIGINT},
- fk_transfer_id = #{fkTransferId,jdbcType=BIGINT},
- ent_serial_no = #{entSerialNo,jdbcType=VARCHAR},
- cha_serial_no = #{chaSerialNo,jdbcType=VARCHAR},
- submitter = #{submitter,jdbcType=VARCHAR},
- authorizer = #{authorizer,jdbcType=VARCHAR},
- pay_account = #{payAccount,jdbcType=VARCHAR},
- `business _type` = #{businessType,jdbcType=VARCHAR},
- tran_month = #{tranMonth,jdbcType=VARCHAR},
- pay_amount = #{payAmount,jdbcType=DECIMAL},
- ent_order_code = #{entOrderCode,jdbcType=VARCHAR},
- op_method = #{opMethod,jdbcType=VARCHAR},
- currency = #{currency,jdbcType=VARCHAR},
- batch_notes = #{batchNotes,jdbcType=VARCHAR},
- pay_name = #{payName,jdbcType=VARCHAR},
- pay_status = #{payStatus,jdbcType=VARCHAR},
- pay_msg = #{payMsg,jdbcType=VARCHAR},
- pay_response_code = #{payResponseCode,jdbcType=VARCHAR},
- fail_reson = #{failReson,jdbcType=VARCHAR},
- create_time = #{createTime,jdbcType=TIMESTAMP},
- status = #{status,jdbcType=INTEGER},
- serial_no = #{serialNo,jdbcType=VARCHAR},
- service_id = #{serviceId,jdbcType=VARCHAR},
- session_id = #{sessionId,jdbcType=VARCHAR},
- req_time = #{reqTime,jdbcType=VARCHAR},
- ret_code = #{retCode,jdbcType=VARCHAR},
- error_msg = #{errorMsg,jdbcType=VARCHAR},
- code = #{code,jdbcType=VARCHAR},
- msg = #{msg,jdbcType=VARCHAR},
- success_tran = #{successTran,jdbcType=INTEGER},
- success_amount = #{successAmount,jdbcType=DECIMAL},
- tran_num = #{tranNum,jdbcType=INTEGER},
- detail_display = #{detailDisplay,jdbcType=VARCHAR},
- transcation_type = #{transcationType,jdbcType=VARCHAR}
- where guid = #{guid,jdbcType=BIGINT}
- </update>
- </mapper>
|