银行支票结算业务-兑付
parent
dd8eb5e781
commit
3ab5ec4973
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,30 @@
|
|||||||
|
package com.sztzjy.bank.mapper;
|
||||||
|
|
||||||
|
import com.sztzjy.bank.entity.BillTransactionRedemption;
|
||||||
|
import com.sztzjy.bank.entity.BillTransactionRedemptionExample;
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
public interface BillTransactionRedemptionMapper {
|
||||||
|
long countByExample(BillTransactionRedemptionExample example);
|
||||||
|
|
||||||
|
int deleteByExample(BillTransactionRedemptionExample example);
|
||||||
|
|
||||||
|
int deleteByPrimaryKey(String id);
|
||||||
|
|
||||||
|
int insert(BillTransactionRedemption record);
|
||||||
|
|
||||||
|
int insertSelective(BillTransactionRedemption record);
|
||||||
|
|
||||||
|
List<BillTransactionRedemption> selectByExample(BillTransactionRedemptionExample example);
|
||||||
|
|
||||||
|
BillTransactionRedemption selectByPrimaryKey(String id);
|
||||||
|
|
||||||
|
int updateByExampleSelective(@Param("record") BillTransactionRedemption record, @Param("example") BillTransactionRedemptionExample example);
|
||||||
|
|
||||||
|
int updateByExample(@Param("record") BillTransactionRedemption record, @Param("example") BillTransactionRedemptionExample example);
|
||||||
|
|
||||||
|
int updateByPrimaryKeySelective(BillTransactionRedemption record);
|
||||||
|
|
||||||
|
int updateByPrimaryKey(BillTransactionRedemption record);
|
||||||
|
}
|
@ -0,0 +1,528 @@
|
|||||||
|
<?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.sztzjy.bank.mapper.BillTransactionRedemptionMapper">
|
||||||
|
<resultMap id="BaseResultMap" type="com.sztzjy.bank.entity.BillTransactionRedemption">
|
||||||
|
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||||
|
<result column="transaction_type" jdbcType="VARCHAR" property="transactionType" />
|
||||||
|
<result column="drawer_account" jdbcType="VARCHAR" property="drawerAccount" />
|
||||||
|
<result column="drawer_name" jdbcType="VARCHAR" property="drawerName" />
|
||||||
|
<result column="drawer_bank_name" jdbcType="VARCHAR" property="drawerBankName" />
|
||||||
|
<result column="payee_bank_name" jdbcType="VARCHAR" property="payeeBankName" />
|
||||||
|
<result column="payee_name" jdbcType="VARCHAR" property="payeeName" />
|
||||||
|
<result column="payee_number" jdbcType="VARCHAR" property="payeeNumber" />
|
||||||
|
<result column="bill_type" jdbcType="VARCHAR" property="billType" />
|
||||||
|
<result column="bill_number" jdbcType="VARCHAR" property="billNumber" />
|
||||||
|
<result column="applicant_id_type" jdbcType="VARCHAR" property="applicantIdType" />
|
||||||
|
<result column="id_number" jdbcType="VARCHAR" property="idNumber" />
|
||||||
|
<result column="issue_date" jdbcType="TIMESTAMP" property="issueDate" />
|
||||||
|
<result column="due_date" jdbcType="TIMESTAMP" property="dueDate" />
|
||||||
|
<result column="currency" jdbcType="VARCHAR" property="currency" />
|
||||||
|
<result column="amount_of_money" jdbcType="VARCHAR" property="amountOfMoney" />
|
||||||
|
<result column="remittance_fee" jdbcType="DOUBLE" property="remittanceFee" />
|
||||||
|
<result column="service_fee" jdbcType="DOUBLE" property="serviceFee" />
|
||||||
|
<result column="business_sequence" jdbcType="VARCHAR" property="businessSequence" />
|
||||||
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||||
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||||
|
<result column="sub_state" jdbcType="INTEGER" property="subState" />
|
||||||
|
<result column="error_number" jdbcType="INTEGER" property="errorNumber" />
|
||||||
|
<result column="number" jdbcType="INTEGER" property="number" />
|
||||||
|
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||||
|
</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">
|
||||||
|
id, transaction_type, drawer_account, drawer_name, drawer_bank_name, payee_bank_name,
|
||||||
|
payee_name, payee_number, bill_type, bill_number, applicant_id_type, id_number, issue_date,
|
||||||
|
due_date, currency, amount_of_money, remittance_fee, service_fee, business_sequence,
|
||||||
|
create_time, update_time, sub_state, error_number, number, user_id
|
||||||
|
</sql>
|
||||||
|
<select id="selectByExample" parameterType="com.sztzjy.bank.entity.BillTransactionRedemptionExample" resultMap="BaseResultMap">
|
||||||
|
select
|
||||||
|
<if test="distinct">
|
||||||
|
distinct
|
||||||
|
</if>
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
from bill_transaction_redemption
|
||||||
|
<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.String" resultMap="BaseResultMap">
|
||||||
|
select
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
from bill_transaction_redemption
|
||||||
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
|
</select>
|
||||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||||
|
delete from bill_transaction_redemption
|
||||||
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
|
</delete>
|
||||||
|
<delete id="deleteByExample" parameterType="com.sztzjy.bank.entity.BillTransactionRedemptionExample">
|
||||||
|
delete from bill_transaction_redemption
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</delete>
|
||||||
|
<insert id="insert" parameterType="com.sztzjy.bank.entity.BillTransactionRedemption">
|
||||||
|
insert into bill_transaction_redemption (id, transaction_type, drawer_account,
|
||||||
|
drawer_name, drawer_bank_name, payee_bank_name,
|
||||||
|
payee_name, payee_number, bill_type,
|
||||||
|
bill_number, applicant_id_type, id_number,
|
||||||
|
issue_date, due_date, currency,
|
||||||
|
amount_of_money, remittance_fee, service_fee,
|
||||||
|
business_sequence, create_time, update_time,
|
||||||
|
sub_state, error_number, number,
|
||||||
|
user_id)
|
||||||
|
values (#{id,jdbcType=VARCHAR}, #{transactionType,jdbcType=VARCHAR}, #{drawerAccount,jdbcType=VARCHAR},
|
||||||
|
#{drawerName,jdbcType=VARCHAR}, #{drawerBankName,jdbcType=VARCHAR}, #{payeeBankName,jdbcType=VARCHAR},
|
||||||
|
#{payeeName,jdbcType=VARCHAR}, #{payeeNumber,jdbcType=VARCHAR}, #{billType,jdbcType=VARCHAR},
|
||||||
|
#{billNumber,jdbcType=VARCHAR}, #{applicantIdType,jdbcType=VARCHAR}, #{idNumber,jdbcType=VARCHAR},
|
||||||
|
#{issueDate,jdbcType=TIMESTAMP}, #{dueDate,jdbcType=TIMESTAMP}, #{currency,jdbcType=VARCHAR},
|
||||||
|
#{amountOfMoney,jdbcType=VARCHAR}, #{remittanceFee,jdbcType=DOUBLE}, #{serviceFee,jdbcType=DOUBLE},
|
||||||
|
#{businessSequence,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
#{subState,jdbcType=INTEGER}, #{errorNumber,jdbcType=INTEGER}, #{number,jdbcType=INTEGER},
|
||||||
|
#{userId,jdbcType=VARCHAR})
|
||||||
|
</insert>
|
||||||
|
<insert id="insertSelective" parameterType="com.sztzjy.bank.entity.BillTransactionRedemption">
|
||||||
|
insert into bill_transaction_redemption
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">
|
||||||
|
id,
|
||||||
|
</if>
|
||||||
|
<if test="transactionType != null">
|
||||||
|
transaction_type,
|
||||||
|
</if>
|
||||||
|
<if test="drawerAccount != null">
|
||||||
|
drawer_account,
|
||||||
|
</if>
|
||||||
|
<if test="drawerName != null">
|
||||||
|
drawer_name,
|
||||||
|
</if>
|
||||||
|
<if test="drawerBankName != null">
|
||||||
|
drawer_bank_name,
|
||||||
|
</if>
|
||||||
|
<if test="payeeBankName != null">
|
||||||
|
payee_bank_name,
|
||||||
|
</if>
|
||||||
|
<if test="payeeName != null">
|
||||||
|
payee_name,
|
||||||
|
</if>
|
||||||
|
<if test="payeeNumber != null">
|
||||||
|
payee_number,
|
||||||
|
</if>
|
||||||
|
<if test="billType != null">
|
||||||
|
bill_type,
|
||||||
|
</if>
|
||||||
|
<if test="billNumber != null">
|
||||||
|
bill_number,
|
||||||
|
</if>
|
||||||
|
<if test="applicantIdType != null">
|
||||||
|
applicant_id_type,
|
||||||
|
</if>
|
||||||
|
<if test="idNumber != null">
|
||||||
|
id_number,
|
||||||
|
</if>
|
||||||
|
<if test="issueDate != null">
|
||||||
|
issue_date,
|
||||||
|
</if>
|
||||||
|
<if test="dueDate != null">
|
||||||
|
due_date,
|
||||||
|
</if>
|
||||||
|
<if test="currency != null">
|
||||||
|
currency,
|
||||||
|
</if>
|
||||||
|
<if test="amountOfMoney != null">
|
||||||
|
amount_of_money,
|
||||||
|
</if>
|
||||||
|
<if test="remittanceFee != null">
|
||||||
|
remittance_fee,
|
||||||
|
</if>
|
||||||
|
<if test="serviceFee != null">
|
||||||
|
service_fee,
|
||||||
|
</if>
|
||||||
|
<if test="businessSequence != null">
|
||||||
|
business_sequence,
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
create_time,
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
update_time,
|
||||||
|
</if>
|
||||||
|
<if test="subState != null">
|
||||||
|
sub_state,
|
||||||
|
</if>
|
||||||
|
<if test="errorNumber != null">
|
||||||
|
error_number,
|
||||||
|
</if>
|
||||||
|
<if test="number != null">
|
||||||
|
number,
|
||||||
|
</if>
|
||||||
|
<if test="userId != null">
|
||||||
|
user_id,
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">
|
||||||
|
#{id,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="transactionType != null">
|
||||||
|
#{transactionType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="drawerAccount != null">
|
||||||
|
#{drawerAccount,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="drawerName != null">
|
||||||
|
#{drawerName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="drawerBankName != null">
|
||||||
|
#{drawerBankName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="payeeBankName != null">
|
||||||
|
#{payeeBankName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="payeeName != null">
|
||||||
|
#{payeeName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="payeeNumber != null">
|
||||||
|
#{payeeNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="billType != null">
|
||||||
|
#{billType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="billNumber != null">
|
||||||
|
#{billNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="applicantIdType != null">
|
||||||
|
#{applicantIdType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="idNumber != null">
|
||||||
|
#{idNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="issueDate != null">
|
||||||
|
#{issueDate,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="dueDate != null">
|
||||||
|
#{dueDate,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="currency != null">
|
||||||
|
#{currency,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="amountOfMoney != null">
|
||||||
|
#{amountOfMoney,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="remittanceFee != null">
|
||||||
|
#{remittanceFee,jdbcType=DOUBLE},
|
||||||
|
</if>
|
||||||
|
<if test="serviceFee != null">
|
||||||
|
#{serviceFee,jdbcType=DOUBLE},
|
||||||
|
</if>
|
||||||
|
<if test="businessSequence != null">
|
||||||
|
#{businessSequence,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
#{createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
#{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="subState != null">
|
||||||
|
#{subState,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="errorNumber != null">
|
||||||
|
#{errorNumber,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="number != null">
|
||||||
|
#{number,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="userId != null">
|
||||||
|
#{userId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
<select id="countByExample" parameterType="com.sztzjy.bank.entity.BillTransactionRedemptionExample" resultType="java.lang.Long">
|
||||||
|
select count(*) from bill_transaction_redemption
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
<update id="updateByExampleSelective" parameterType="map">
|
||||||
|
update bill_transaction_redemption
|
||||||
|
<set>
|
||||||
|
<if test="record.id != null">
|
||||||
|
id = #{record.id,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.transactionType != null">
|
||||||
|
transaction_type = #{record.transactionType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.drawerAccount != null">
|
||||||
|
drawer_account = #{record.drawerAccount,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.drawerName != null">
|
||||||
|
drawer_name = #{record.drawerName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.drawerBankName != null">
|
||||||
|
drawer_bank_name = #{record.drawerBankName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.payeeBankName != null">
|
||||||
|
payee_bank_name = #{record.payeeBankName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.payeeName != null">
|
||||||
|
payee_name = #{record.payeeName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.payeeNumber != null">
|
||||||
|
payee_number = #{record.payeeNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.billType != null">
|
||||||
|
bill_type = #{record.billType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.billNumber != null">
|
||||||
|
bill_number = #{record.billNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.applicantIdType != null">
|
||||||
|
applicant_id_type = #{record.applicantIdType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.idNumber != null">
|
||||||
|
id_number = #{record.idNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.issueDate != null">
|
||||||
|
issue_date = #{record.issueDate,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.dueDate != null">
|
||||||
|
due_date = #{record.dueDate,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.currency != null">
|
||||||
|
currency = #{record.currency,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.amountOfMoney != null">
|
||||||
|
amount_of_money = #{record.amountOfMoney,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.remittanceFee != null">
|
||||||
|
remittance_fee = #{record.remittanceFee,jdbcType=DOUBLE},
|
||||||
|
</if>
|
||||||
|
<if test="record.serviceFee != null">
|
||||||
|
service_fee = #{record.serviceFee,jdbcType=DOUBLE},
|
||||||
|
</if>
|
||||||
|
<if test="record.businessSequence != null">
|
||||||
|
business_sequence = #{record.businessSequence,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.createTime != null">
|
||||||
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.updateTime != null">
|
||||||
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.subState != null">
|
||||||
|
sub_state = #{record.subState,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="record.errorNumber != null">
|
||||||
|
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="record.number != null">
|
||||||
|
number = #{record.number,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="record.userId != null">
|
||||||
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByExample" parameterType="map">
|
||||||
|
update bill_transaction_redemption
|
||||||
|
set id = #{record.id,jdbcType=VARCHAR},
|
||||||
|
transaction_type = #{record.transactionType,jdbcType=VARCHAR},
|
||||||
|
drawer_account = #{record.drawerAccount,jdbcType=VARCHAR},
|
||||||
|
drawer_name = #{record.drawerName,jdbcType=VARCHAR},
|
||||||
|
drawer_bank_name = #{record.drawerBankName,jdbcType=VARCHAR},
|
||||||
|
payee_bank_name = #{record.payeeBankName,jdbcType=VARCHAR},
|
||||||
|
payee_name = #{record.payeeName,jdbcType=VARCHAR},
|
||||||
|
payee_number = #{record.payeeNumber,jdbcType=VARCHAR},
|
||||||
|
bill_type = #{record.billType,jdbcType=VARCHAR},
|
||||||
|
bill_number = #{record.billNumber,jdbcType=VARCHAR},
|
||||||
|
applicant_id_type = #{record.applicantIdType,jdbcType=VARCHAR},
|
||||||
|
id_number = #{record.idNumber,jdbcType=VARCHAR},
|
||||||
|
issue_date = #{record.issueDate,jdbcType=TIMESTAMP},
|
||||||
|
due_date = #{record.dueDate,jdbcType=TIMESTAMP},
|
||||||
|
currency = #{record.currency,jdbcType=VARCHAR},
|
||||||
|
amount_of_money = #{record.amountOfMoney,jdbcType=VARCHAR},
|
||||||
|
remittance_fee = #{record.remittanceFee,jdbcType=DOUBLE},
|
||||||
|
service_fee = #{record.serviceFee,jdbcType=DOUBLE},
|
||||||
|
business_sequence = #{record.businessSequence,jdbcType=VARCHAR},
|
||||||
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||||
|
sub_state = #{record.subState,jdbcType=INTEGER},
|
||||||
|
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||||
|
number = #{record.number,jdbcType=INTEGER},
|
||||||
|
user_id = #{record.userId,jdbcType=VARCHAR}
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.bank.entity.BillTransactionRedemption">
|
||||||
|
update bill_transaction_redemption
|
||||||
|
<set>
|
||||||
|
<if test="transactionType != null">
|
||||||
|
transaction_type = #{transactionType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="drawerAccount != null">
|
||||||
|
drawer_account = #{drawerAccount,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="drawerName != null">
|
||||||
|
drawer_name = #{drawerName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="drawerBankName != null">
|
||||||
|
drawer_bank_name = #{drawerBankName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="payeeBankName != null">
|
||||||
|
payee_bank_name = #{payeeBankName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="payeeName != null">
|
||||||
|
payee_name = #{payeeName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="payeeNumber != null">
|
||||||
|
payee_number = #{payeeNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="billType != null">
|
||||||
|
bill_type = #{billType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="billNumber != null">
|
||||||
|
bill_number = #{billNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="applicantIdType != null">
|
||||||
|
applicant_id_type = #{applicantIdType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="idNumber != null">
|
||||||
|
id_number = #{idNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="issueDate != null">
|
||||||
|
issue_date = #{issueDate,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="dueDate != null">
|
||||||
|
due_date = #{dueDate,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="currency != null">
|
||||||
|
currency = #{currency,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="amountOfMoney != null">
|
||||||
|
amount_of_money = #{amountOfMoney,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="remittanceFee != null">
|
||||||
|
remittance_fee = #{remittanceFee,jdbcType=DOUBLE},
|
||||||
|
</if>
|
||||||
|
<if test="serviceFee != null">
|
||||||
|
service_fee = #{serviceFee,jdbcType=DOUBLE},
|
||||||
|
</if>
|
||||||
|
<if test="businessSequence != null">
|
||||||
|
business_sequence = #{businessSequence,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="subState != null">
|
||||||
|
sub_state = #{subState,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="errorNumber != null">
|
||||||
|
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="number != null">
|
||||||
|
number = #{number,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="userId != null">
|
||||||
|
user_id = #{userId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.bank.entity.BillTransactionRedemption">
|
||||||
|
update bill_transaction_redemption
|
||||||
|
set transaction_type = #{transactionType,jdbcType=VARCHAR},
|
||||||
|
drawer_account = #{drawerAccount,jdbcType=VARCHAR},
|
||||||
|
drawer_name = #{drawerName,jdbcType=VARCHAR},
|
||||||
|
drawer_bank_name = #{drawerBankName,jdbcType=VARCHAR},
|
||||||
|
payee_bank_name = #{payeeBankName,jdbcType=VARCHAR},
|
||||||
|
payee_name = #{payeeName,jdbcType=VARCHAR},
|
||||||
|
payee_number = #{payeeNumber,jdbcType=VARCHAR},
|
||||||
|
bill_type = #{billType,jdbcType=VARCHAR},
|
||||||
|
bill_number = #{billNumber,jdbcType=VARCHAR},
|
||||||
|
applicant_id_type = #{applicantIdType,jdbcType=VARCHAR},
|
||||||
|
id_number = #{idNumber,jdbcType=VARCHAR},
|
||||||
|
issue_date = #{issueDate,jdbcType=TIMESTAMP},
|
||||||
|
due_date = #{dueDate,jdbcType=TIMESTAMP},
|
||||||
|
currency = #{currency,jdbcType=VARCHAR},
|
||||||
|
amount_of_money = #{amountOfMoney,jdbcType=VARCHAR},
|
||||||
|
remittance_fee = #{remittanceFee,jdbcType=DOUBLE},
|
||||||
|
service_fee = #{serviceFee,jdbcType=DOUBLE},
|
||||||
|
business_sequence = #{businessSequence,jdbcType=VARCHAR},
|
||||||
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
sub_state = #{subState,jdbcType=INTEGER},
|
||||||
|
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||||
|
number = #{number,jdbcType=INTEGER},
|
||||||
|
user_id = #{userId,jdbcType=VARCHAR}
|
||||||
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
|
</update>
|
||||||
|
</mapper>
|
Loading…
Reference in New Issue