|
@@ -6,6 +6,8 @@
|
|
|
<result column="seril_no" jdbcType="VARCHAR" property="serilNo" />
|
|
|
<result column="currency" jdbcType="VARCHAR" property="currency" />
|
|
|
<result column="submitter" jdbcType="VARCHAR" property="submitter" />
|
|
|
+ <result column="fk_user_id" jdbcType="BIGINT" property="fkUserId" />
|
|
|
+ <result column="user_id" jdbcType="VARCHAR" property="userId" />
|
|
|
<result column="authorizer" jdbcType="VARCHAR" property="authorizer" />
|
|
|
<result column="fk_transfer_id" jdbcType="BIGINT" property="fkTransferId" />
|
|
|
<result column="pay_amount" jdbcType="DECIMAL" property="payAmount" />
|
|
@@ -19,9 +21,6 @@
|
|
|
<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="account_money" jdbcType="DECIMAL" property="accountMoney" />
|
|
|
- <result column="hand_fee" jdbcType="DECIMAL" property="handFee" />
|
|
|
- <result column="post_fee" jdbcType="DECIMAL" property="postFee" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="serial_no" jdbcType="VARCHAR" property="serialNo" />
|
|
@@ -90,10 +89,10 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- guid, seril_no, currency, submitter, authorizer, fk_transfer_id, pay_amount, pay_bank_name,
|
|
|
- pay_account, pay_name, pay_date, pay_seril, hand_fee_type, pay_status, pay_msg, pay_response_code,
|
|
|
- fail_reson, account_money, hand_fee, post_fee, create_time, status, serial_no, service_id,
|
|
|
- session_id, req_time, ret_code, error_msg
|
|
|
+ guid, seril_no, currency, submitter, fk_user_id, user_id, authorizer, fk_transfer_id,
|
|
|
+ pay_amount, pay_bank_name, pay_account, pay_name, pay_date, pay_seril, hand_fee_type,
|
|
|
+ pay_status, pay_msg, pay_response_code, fail_reson, create_time, status, serial_no,
|
|
|
+ service_id, session_id, req_time, ret_code, error_msg
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.hcloud.microserver.bank.mbg.modul.BTransferFarmerRequestExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -127,25 +126,25 @@
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.hcloud.microserver.bank.mbg.modul.BTransferFarmerRequest">
|
|
|
insert into b_transfer_farmer_request (guid, seril_no, currency,
|
|
|
- submitter, authorizer, fk_transfer_id,
|
|
|
- pay_amount, pay_bank_name, pay_account,
|
|
|
- pay_name, pay_date, pay_seril,
|
|
|
- hand_fee_type, pay_status, pay_msg,
|
|
|
- pay_response_code, fail_reson, account_money,
|
|
|
- hand_fee, post_fee, create_time,
|
|
|
- status, serial_no, service_id,
|
|
|
- session_id, req_time, ret_code,
|
|
|
- error_msg)
|
|
|
+ submitter, fk_user_id, user_id,
|
|
|
+ authorizer, fk_transfer_id, pay_amount,
|
|
|
+ pay_bank_name, pay_account, pay_name,
|
|
|
+ pay_date, pay_seril, hand_fee_type,
|
|
|
+ pay_status, pay_msg, pay_response_code,
|
|
|
+ fail_reson, create_time, status,
|
|
|
+ serial_no, service_id, session_id,
|
|
|
+ req_time, ret_code, error_msg
|
|
|
+ )
|
|
|
values (#{guid,jdbcType=BIGINT}, #{serilNo,jdbcType=VARCHAR}, #{currency,jdbcType=VARCHAR},
|
|
|
- #{submitter,jdbcType=VARCHAR}, #{authorizer,jdbcType=VARCHAR}, #{fkTransferId,jdbcType=BIGINT},
|
|
|
- #{payAmount,jdbcType=DECIMAL}, #{payBankName,jdbcType=VARCHAR}, #{payAccount,jdbcType=VARCHAR},
|
|
|
- #{payName,jdbcType=VARCHAR}, #{payDate,jdbcType=VARCHAR}, #{paySeril,jdbcType=VARCHAR},
|
|
|
- #{handFeeType,jdbcType=VARCHAR}, #{payStatus,jdbcType=VARCHAR}, #{payMsg,jdbcType=VARCHAR},
|
|
|
- #{payResponseCode,jdbcType=VARCHAR}, #{failReson,jdbcType=VARCHAR}, #{accountMoney,jdbcType=DECIMAL},
|
|
|
- #{handFee,jdbcType=DECIMAL}, #{postFee,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
- #{status,jdbcType=INTEGER}, #{serialNo,jdbcType=VARCHAR}, #{serviceId,jdbcType=VARCHAR},
|
|
|
- #{sessionId,jdbcType=VARCHAR}, #{reqTime,jdbcType=VARCHAR}, #{retCode,jdbcType=VARCHAR},
|
|
|
- #{errorMsg,jdbcType=VARCHAR})
|
|
|
+ #{submitter,jdbcType=VARCHAR}, #{fkUserId,jdbcType=BIGINT}, #{userId,jdbcType=VARCHAR},
|
|
|
+ #{authorizer,jdbcType=VARCHAR}, #{fkTransferId,jdbcType=BIGINT}, #{payAmount,jdbcType=DECIMAL},
|
|
|
+ #{payBankName,jdbcType=VARCHAR}, #{payAccount,jdbcType=VARCHAR}, #{payName,jdbcType=VARCHAR},
|
|
|
+ #{payDate,jdbcType=VARCHAR}, #{paySeril,jdbcType=VARCHAR}, #{handFeeType,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}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.hcloud.microserver.bank.mbg.modul.BTransferFarmerRequest">
|
|
|
insert into b_transfer_farmer_request
|
|
@@ -162,6 +161,12 @@
|
|
|
<if test="submitter != null">
|
|
|
submitter,
|
|
|
</if>
|
|
|
+ <if test="fkUserId != null">
|
|
|
+ fk_user_id,
|
|
|
+ </if>
|
|
|
+ <if test="userId != null">
|
|
|
+ user_id,
|
|
|
+ </if>
|
|
|
<if test="authorizer != null">
|
|
|
authorizer,
|
|
|
</if>
|
|
@@ -201,15 +206,6 @@
|
|
|
<if test="failReson != null">
|
|
|
fail_reson,
|
|
|
</if>
|
|
|
- <if test="accountMoney != null">
|
|
|
- account_money,
|
|
|
- </if>
|
|
|
- <if test="handFee != null">
|
|
|
- hand_fee,
|
|
|
- </if>
|
|
|
- <if test="postFee != null">
|
|
|
- post_fee,
|
|
|
- </if>
|
|
|
<if test="createTime != null">
|
|
|
create_time,
|
|
|
</if>
|
|
@@ -248,6 +244,12 @@
|
|
|
<if test="submitter != null">
|
|
|
#{submitter,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="fkUserId != null">
|
|
|
+ #{fkUserId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="userId != null">
|
|
|
+ #{userId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="authorizer != null">
|
|
|
#{authorizer,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -287,15 +289,6 @@
|
|
|
<if test="failReson != null">
|
|
|
#{failReson,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="accountMoney != null">
|
|
|
- #{accountMoney,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="handFee != null">
|
|
|
- #{handFee,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="postFee != null">
|
|
|
- #{postFee,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
<if test="createTime != null">
|
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
@@ -343,6 +336,12 @@
|
|
|
<if test="record.submitter != null">
|
|
|
submitter = #{record.submitter,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.fkUserId != null">
|
|
|
+ fk_user_id = #{record.fkUserId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="record.userId != null">
|
|
|
+ user_id = #{record.userId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.authorizer != null">
|
|
|
authorizer = #{record.authorizer,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -382,15 +381,6 @@
|
|
|
<if test="record.failReson != null">
|
|
|
fail_reson = #{record.failReson,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.accountMoney != null">
|
|
|
- account_money = #{record.accountMoney,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="record.handFee != null">
|
|
|
- hand_fee = #{record.handFee,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="record.postFee != null">
|
|
|
- post_fee = #{record.postFee,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
<if test="record.createTime != null">
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
@@ -426,6 +416,8 @@
|
|
|
seril_no = #{record.serilNo,jdbcType=VARCHAR},
|
|
|
currency = #{record.currency,jdbcType=VARCHAR},
|
|
|
submitter = #{record.submitter,jdbcType=VARCHAR},
|
|
|
+ fk_user_id = #{record.fkUserId,jdbcType=BIGINT},
|
|
|
+ user_id = #{record.userId,jdbcType=VARCHAR},
|
|
|
authorizer = #{record.authorizer,jdbcType=VARCHAR},
|
|
|
fk_transfer_id = #{record.fkTransferId,jdbcType=BIGINT},
|
|
|
pay_amount = #{record.payAmount,jdbcType=DECIMAL},
|
|
@@ -439,9 +431,6 @@
|
|
|
pay_msg = #{record.payMsg,jdbcType=VARCHAR},
|
|
|
pay_response_code = #{record.payResponseCode,jdbcType=VARCHAR},
|
|
|
fail_reson = #{record.failReson,jdbcType=VARCHAR},
|
|
|
- account_money = #{record.accountMoney,jdbcType=DECIMAL},
|
|
|
- hand_fee = #{record.handFee,jdbcType=DECIMAL},
|
|
|
- post_fee = #{record.postFee,jdbcType=DECIMAL},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
status = #{record.status,jdbcType=INTEGER},
|
|
|
serial_no = #{record.serialNo,jdbcType=VARCHAR},
|
|
@@ -466,6 +455,12 @@
|
|
|
<if test="submitter != null">
|
|
|
submitter = #{submitter,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="fkUserId != null">
|
|
|
+ fk_user_id = #{fkUserId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="userId != null">
|
|
|
+ user_id = #{userId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="authorizer != null">
|
|
|
authorizer = #{authorizer,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -505,15 +500,6 @@
|
|
|
<if test="failReson != null">
|
|
|
fail_reson = #{failReson,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="accountMoney != null">
|
|
|
- account_money = #{accountMoney,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="handFee != null">
|
|
|
- hand_fee = #{handFee,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="postFee != null">
|
|
|
- post_fee = #{postFee,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
<if test="createTime != null">
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
@@ -546,6 +532,8 @@
|
|
|
set seril_no = #{serilNo,jdbcType=VARCHAR},
|
|
|
currency = #{currency,jdbcType=VARCHAR},
|
|
|
submitter = #{submitter,jdbcType=VARCHAR},
|
|
|
+ fk_user_id = #{fkUserId,jdbcType=BIGINT},
|
|
|
+ user_id = #{userId,jdbcType=VARCHAR},
|
|
|
authorizer = #{authorizer,jdbcType=VARCHAR},
|
|
|
fk_transfer_id = #{fkTransferId,jdbcType=BIGINT},
|
|
|
pay_amount = #{payAmount,jdbcType=DECIMAL},
|
|
@@ -559,9 +547,6 @@
|
|
|
pay_msg = #{payMsg,jdbcType=VARCHAR},
|
|
|
pay_response_code = #{payResponseCode,jdbcType=VARCHAR},
|
|
|
fail_reson = #{failReson,jdbcType=VARCHAR},
|
|
|
- account_money = #{accountMoney,jdbcType=DECIMAL},
|
|
|
- hand_fee = #{handFee,jdbcType=DECIMAL},
|
|
|
- post_fee = #{postFee,jdbcType=DECIMAL},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
serial_no = #{serialNo,jdbcType=VARCHAR},
|