|
|
|
@ -8,7 +8,9 @@
|
|
|
|
|
<result column="write_code" jdbcType="VARCHAR" property="writeCode" />
|
|
|
|
|
<result column="telegram_fee_type" jdbcType="VARCHAR" property="telegramFeeType" />
|
|
|
|
|
<result column="acceptance_currency" jdbcType="VARCHAR" property="acceptanceCurrency" />
|
|
|
|
|
<result column="actual_acceptance" jdbcType="VARCHAR" property="actualAcceptance" />
|
|
|
|
|
<result column="acceptance_amount" jdbcType="VARCHAR" property="acceptanceAmount" />
|
|
|
|
|
<result column="actual_postage_amount_received" jdbcType="VARCHAR" property="actualPostageAmountReceived" />
|
|
|
|
|
<result column="beneficiary" jdbcType="VARCHAR" property="beneficiary" />
|
|
|
|
|
<result column="ben_settlement_account" jdbcType="VARCHAR" property="benSettlementAccount" />
|
|
|
|
|
<result column="payer_settlement_account" jdbcType="VARCHAR" property="payerSettlementAccount" />
|
|
|
|
@ -82,9 +84,9 @@
|
|
|
|
|
</sql>
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
id, receiving_bank_code, charging_method, write_code, telegram_fee_type, acceptance_currency,
|
|
|
|
|
acceptance_amount, beneficiary, ben_settlement_account, payer_settlement_account,
|
|
|
|
|
payer_name, deduction_account, create_time, update_time, save_status, submit_status,
|
|
|
|
|
user_id, error_number, number
|
|
|
|
|
actual_acceptance, acceptance_amount, actual_postage_amount_received, beneficiary,
|
|
|
|
|
ben_settlement_account, payer_settlement_account, payer_name, deduction_account,
|
|
|
|
|
create_time, update_time, save_status, submit_status, user_id, error_number, number
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="selectByExample" parameterType="com.sztzjy.bank.entity.PaymentAcceptanceExample" resultMap="BaseResultMap">
|
|
|
|
|
select
|
|
|
|
@ -119,18 +121,20 @@
|
|
|
|
|
<insert id="insert" parameterType="com.sztzjy.bank.entity.PaymentAcceptance">
|
|
|
|
|
insert into payment_acceptance (id, receiving_bank_code, charging_method,
|
|
|
|
|
write_code, telegram_fee_type, acceptance_currency,
|
|
|
|
|
acceptance_amount, beneficiary, ben_settlement_account,
|
|
|
|
|
payer_settlement_account, payer_name, deduction_account,
|
|
|
|
|
create_time, update_time, save_status,
|
|
|
|
|
submit_status, user_id, error_number,
|
|
|
|
|
number)
|
|
|
|
|
actual_acceptance, acceptance_amount, actual_postage_amount_received,
|
|
|
|
|
beneficiary, ben_settlement_account, payer_settlement_account,
|
|
|
|
|
payer_name, deduction_account, create_time,
|
|
|
|
|
update_time, save_status, submit_status,
|
|
|
|
|
user_id, error_number, number
|
|
|
|
|
)
|
|
|
|
|
values (#{id,jdbcType=VARCHAR}, #{receivingBankCode,jdbcType=VARCHAR}, #{chargingMethod,jdbcType=VARCHAR},
|
|
|
|
|
#{writeCode,jdbcType=VARCHAR}, #{telegramFeeType,jdbcType=VARCHAR}, #{acceptanceCurrency,jdbcType=VARCHAR},
|
|
|
|
|
#{acceptanceAmount,jdbcType=VARCHAR}, #{beneficiary,jdbcType=VARCHAR}, #{benSettlementAccount,jdbcType=VARCHAR},
|
|
|
|
|
#{payerSettlementAccount,jdbcType=VARCHAR}, #{payerName,jdbcType=VARCHAR}, #{deductionAccount,jdbcType=VARCHAR},
|
|
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{saveStatus,jdbcType=INTEGER},
|
|
|
|
|
#{submitStatus,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, #{errorNumber,jdbcType=INTEGER},
|
|
|
|
|
#{number,jdbcType=INTEGER})
|
|
|
|
|
#{actualAcceptance,jdbcType=VARCHAR}, #{acceptanceAmount,jdbcType=VARCHAR}, #{actualPostageAmountReceived,jdbcType=VARCHAR},
|
|
|
|
|
#{beneficiary,jdbcType=VARCHAR}, #{benSettlementAccount,jdbcType=VARCHAR}, #{payerSettlementAccount,jdbcType=VARCHAR},
|
|
|
|
|
#{payerName,jdbcType=VARCHAR}, #{deductionAccount,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{saveStatus,jdbcType=INTEGER}, #{submitStatus,jdbcType=INTEGER},
|
|
|
|
|
#{userId,jdbcType=VARCHAR}, #{errorNumber,jdbcType=INTEGER}, #{number,jdbcType=INTEGER}
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.bank.entity.PaymentAcceptance">
|
|
|
|
|
insert into payment_acceptance
|
|
|
|
@ -153,9 +157,15 @@
|
|
|
|
|
<if test="acceptanceCurrency != null">
|
|
|
|
|
acceptance_currency,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="actualAcceptance != null">
|
|
|
|
|
actual_acceptance,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="acceptanceAmount != null">
|
|
|
|
|
acceptance_amount,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="actualPostageAmountReceived != null">
|
|
|
|
|
actual_postage_amount_received,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="beneficiary != null">
|
|
|
|
|
beneficiary,
|
|
|
|
|
</if>
|
|
|
|
@ -212,9 +222,15 @@
|
|
|
|
|
<if test="acceptanceCurrency != null">
|
|
|
|
|
#{acceptanceCurrency,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="actualAcceptance != null">
|
|
|
|
|
#{actualAcceptance,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="acceptanceAmount != null">
|
|
|
|
|
#{acceptanceAmount,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="actualPostageAmountReceived != null">
|
|
|
|
|
#{actualPostageAmountReceived,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="beneficiary != null">
|
|
|
|
|
#{beneficiary,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
@ -280,9 +296,15 @@
|
|
|
|
|
<if test="record.acceptanceCurrency != null">
|
|
|
|
|
acceptance_currency = #{record.acceptanceCurrency,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.actualAcceptance != null">
|
|
|
|
|
actual_acceptance = #{record.actualAcceptance,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.acceptanceAmount != null">
|
|
|
|
|
acceptance_amount = #{record.acceptanceAmount,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.actualPostageAmountReceived != null">
|
|
|
|
|
actual_postage_amount_received = #{record.actualPostageAmountReceived,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.beneficiary != null">
|
|
|
|
|
beneficiary = #{record.beneficiary,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
@ -332,7 +354,9 @@
|
|
|
|
|
write_code = #{record.writeCode,jdbcType=VARCHAR},
|
|
|
|
|
telegram_fee_type = #{record.telegramFeeType,jdbcType=VARCHAR},
|
|
|
|
|
acceptance_currency = #{record.acceptanceCurrency,jdbcType=VARCHAR},
|
|
|
|
|
actual_acceptance = #{record.actualAcceptance,jdbcType=VARCHAR},
|
|
|
|
|
acceptance_amount = #{record.acceptanceAmount,jdbcType=VARCHAR},
|
|
|
|
|
actual_postage_amount_received = #{record.actualPostageAmountReceived,jdbcType=VARCHAR},
|
|
|
|
|
beneficiary = #{record.beneficiary,jdbcType=VARCHAR},
|
|
|
|
|
ben_settlement_account = #{record.benSettlementAccount,jdbcType=VARCHAR},
|
|
|
|
|
payer_settlement_account = #{record.payerSettlementAccount,jdbcType=VARCHAR},
|
|
|
|
@ -367,9 +391,15 @@
|
|
|
|
|
<if test="acceptanceCurrency != null">
|
|
|
|
|
acceptance_currency = #{acceptanceCurrency,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="actualAcceptance != null">
|
|
|
|
|
actual_acceptance = #{actualAcceptance,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="acceptanceAmount != null">
|
|
|
|
|
acceptance_amount = #{acceptanceAmount,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="actualPostageAmountReceived != null">
|
|
|
|
|
actual_postage_amount_received = #{actualPostageAmountReceived,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="beneficiary != null">
|
|
|
|
|
beneficiary = #{beneficiary,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
@ -416,7 +446,9 @@
|
|
|
|
|
write_code = #{writeCode,jdbcType=VARCHAR},
|
|
|
|
|
telegram_fee_type = #{telegramFeeType,jdbcType=VARCHAR},
|
|
|
|
|
acceptance_currency = #{acceptanceCurrency,jdbcType=VARCHAR},
|
|
|
|
|
actual_acceptance = #{actualAcceptance,jdbcType=VARCHAR},
|
|
|
|
|
acceptance_amount = #{acceptanceAmount,jdbcType=VARCHAR},
|
|
|
|
|
actual_postage_amount_received = #{actualPostageAmountReceived,jdbcType=VARCHAR},
|
|
|
|
|
beneficiary = #{beneficiary,jdbcType=VARCHAR},
|
|
|
|
|
ben_settlement_account = #{benSettlementAccount,jdbcType=VARCHAR},
|
|
|
|
|
payer_settlement_account = #{payerSettlementAccount,jdbcType=VARCHAR},
|
|
|
|
|