新增出口信用证业务相关表文件和部分接口
parent
0d892a89a8
commit
ac35dea98e
@ -0,0 +1,38 @@
|
||||
package com.sztzjy.bank.entity.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Author xcj
|
||||
* @Date 2025/3/17
|
||||
*/
|
||||
@Data
|
||||
public class ExportBillOfLadingDTO {
|
||||
@ApiModelProperty(notes = "装运者")
|
||||
private String shipper;
|
||||
|
||||
@ApiModelProperty(notes = "海运提单号")
|
||||
private String blNo;
|
||||
|
||||
@ApiModelProperty(notes = "收货人")
|
||||
private String consignee;
|
||||
|
||||
@ApiModelProperty(notes = "装运港")
|
||||
private String placeOfReceipt;
|
||||
|
||||
@ApiModelProperty(notes = "卸货港")
|
||||
private String portOfDischarge;
|
||||
|
||||
@ApiModelProperty(notes = "发货港")
|
||||
private String portOfLoading;
|
||||
|
||||
@ApiModelProperty(notes = "日期")
|
||||
private Date date;
|
||||
|
||||
@ApiModelProperty(notes = "签发地点及日期")
|
||||
private String placeAndDateOfIssue;
|
||||
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package com.sztzjy.bank.entity.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Author xcj
|
||||
* @Date 2025/3/17
|
||||
*/
|
||||
@Data
|
||||
public class ExportCargoTransportationInsurancePolicyDTO {
|
||||
@ApiModelProperty(notes = "启运日期")
|
||||
private Date slgOnOrAbt;
|
||||
|
||||
@ApiModelProperty(notes = "日期")
|
||||
private Date date;
|
||||
|
||||
@ApiModelProperty(notes = "签名")
|
||||
private String signature;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package com.sztzjy.bank.entity.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Author xcj
|
||||
* @Date 2025/3/17
|
||||
*/
|
||||
@Data
|
||||
public class ExportCommercialInvoiceDTO {
|
||||
@ApiModelProperty(notes = "名址")
|
||||
private String address;
|
||||
|
||||
@ApiModelProperty(notes = "日期")
|
||||
private Date date;
|
||||
|
||||
@ApiModelProperty(notes = "起运港")
|
||||
private String fromPort;
|
||||
|
||||
@ApiModelProperty(notes = "目的港")
|
||||
private String toPort;
|
||||
|
||||
@ApiModelProperty(notes = "数量与货品名")
|
||||
private String quantitiesAndDescriptions;
|
||||
|
||||
@ApiModelProperty(notes = "单价")
|
||||
private BigDecimal unitPrice;
|
||||
|
||||
@ApiModelProperty(notes = "总价")
|
||||
private BigDecimal amount;
|
||||
|
||||
@ApiModelProperty(notes = "总额")
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
@ApiModelProperty(notes = "签名")
|
||||
private String signature;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.sztzjy.bank.entity.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Author xcj
|
||||
* @Date 2025/3/17
|
||||
*/
|
||||
@Data
|
||||
public class ExportFinancingRegistrationDTO {
|
||||
@ApiModelProperty(notes = "融资(贷款入账)账号")
|
||||
private String financingAccount;
|
||||
|
||||
@ApiModelProperty(notes = "起息日")
|
||||
private Date interestStartDate;
|
||||
|
||||
@ApiModelProperty(notes = "贷款期限")
|
||||
private String loanTerm;
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package com.sztzjy.bank.entity.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Author xcj
|
||||
* @Date 2025/3/18
|
||||
*/
|
||||
@Data
|
||||
public class ExportFinancingReturnRegistrationDto {
|
||||
@ApiModelProperty(notes = "返还融资本金")
|
||||
private BigDecimal returnPrincipal;
|
||||
|
||||
@ApiModelProperty(notes = "本次融资返还账号")
|
||||
private String financingReturnAccount;
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.sztzjy.bank.entity.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Author xcj
|
||||
* @Date 2025/3/18
|
||||
*/
|
||||
@Data
|
||||
public class ExportPaymentAcceptanceDto {
|
||||
@ApiModelProperty(notes = "回电类型")
|
||||
private String responseType;
|
||||
|
||||
@ApiModelProperty(notes = "金额")
|
||||
private BigDecimal amount;
|
||||
|
||||
@ApiModelProperty(notes = "币种")
|
||||
private String currency;
|
||||
|
||||
@ApiModelProperty(notes = "到期日")
|
||||
private Date maturityData;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,554 +0,0 @@
|
||||
<?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.ExportCommercialInvoiceMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.bank.entity.ExportCommercialInvoice">
|
||||
<id column="id" jdbcType="INTEGER" property="id" />
|
||||
<result column="address" jdbcType="VARCHAR" property="address" />
|
||||
<result column="invoice_no" jdbcType="VARCHAR" property="invoiceNo" />
|
||||
<result column="lc_no" jdbcType="VARCHAR" property="lcNo" />
|
||||
<result column="date" jdbcType="DATE" property="date" />
|
||||
<result column="sc_no" jdbcType="VARCHAR" property="scNo" />
|
||||
<result column="from_port" jdbcType="VARCHAR" property="fromPort" />
|
||||
<result column="to_port" jdbcType="VARCHAR" property="toPort" />
|
||||
<result column="marks_and_no" jdbcType="VARCHAR" property="marksAndNo" />
|
||||
<result column="unit_price" jdbcType="DECIMAL" property="unitPrice" />
|
||||
<result column="amount" jdbcType="DECIMAL" property="amount" />
|
||||
<result column="total_amount" jdbcType="DECIMAL" property="totalAmount" />
|
||||
<result column="issued_by" jdbcType="VARCHAR" property="issuedBy" />
|
||||
<result column="signature" jdbcType="VARCHAR" property="signature" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="save_status" jdbcType="INTEGER" property="saveStatus" />
|
||||
<result column="submit_status" jdbcType="INTEGER" property="submitStatus" />
|
||||
<result column="error_number" jdbcType="INTEGER" property="errorNumber" />
|
||||
<result column="number" jdbcType="INTEGER" property="number" />
|
||||
</resultMap>
|
||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.bank.entity.ExportCommercialInvoice">
|
||||
<result column="quantities_and_descriptions" jdbcType="LONGVARCHAR" property="quantitiesAndDescriptions" />
|
||||
</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, address, invoice_no, lc_no, date, sc_no, from_port, to_port, marks_and_no, unit_price,
|
||||
amount, total_amount, issued_by, signature, user_id, create_time, update_time, save_status,
|
||||
submit_status, error_number, number
|
||||
</sql>
|
||||
<sql id="Blob_Column_List">
|
||||
quantities_and_descriptions
|
||||
</sql>
|
||||
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.bank.entity.ExportCommercialInvoiceExample" resultMap="ResultMapWithBLOBs">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
,
|
||||
<include refid="Blob_Column_List" />
|
||||
from export_commercial_invoice
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.bank.entity.ExportCommercialInvoiceExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from export_commercial_invoice
|
||||
<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.Integer" resultMap="ResultMapWithBLOBs">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
,
|
||||
<include refid="Blob_Column_List" />
|
||||
from export_commercial_invoice
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
||||
delete from export_commercial_invoice
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.bank.entity.ExportCommercialInvoiceExample">
|
||||
delete from export_commercial_invoice
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.bank.entity.ExportCommercialInvoice">
|
||||
insert into export_commercial_invoice (id, address, invoice_no,
|
||||
lc_no, date, sc_no, from_port,
|
||||
to_port, marks_and_no, unit_price,
|
||||
amount, total_amount, issued_by,
|
||||
signature, user_id, create_time,
|
||||
update_time, save_status, submit_status,
|
||||
error_number, number, quantities_and_descriptions
|
||||
)
|
||||
values (#{id,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR}, #{invoiceNo,jdbcType=VARCHAR},
|
||||
#{lcNo,jdbcType=VARCHAR}, #{date,jdbcType=DATE}, #{scNo,jdbcType=VARCHAR}, #{fromPort,jdbcType=VARCHAR},
|
||||
#{toPort,jdbcType=VARCHAR}, #{marksAndNo,jdbcType=VARCHAR}, #{unitPrice,jdbcType=DECIMAL},
|
||||
#{amount,jdbcType=DECIMAL}, #{totalAmount,jdbcType=DECIMAL}, #{issuedBy,jdbcType=VARCHAR},
|
||||
#{signature,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
||||
#{updateTime,jdbcType=TIMESTAMP}, #{saveStatus,jdbcType=INTEGER}, #{submitStatus,jdbcType=INTEGER},
|
||||
#{errorNumber,jdbcType=INTEGER}, #{number,jdbcType=INTEGER}, #{quantitiesAndDescriptions,jdbcType=LONGVARCHAR}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.bank.entity.ExportCommercialInvoice">
|
||||
insert into export_commercial_invoice
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="address != null">
|
||||
address,
|
||||
</if>
|
||||
<if test="invoiceNo != null">
|
||||
invoice_no,
|
||||
</if>
|
||||
<if test="lcNo != null">
|
||||
lc_no,
|
||||
</if>
|
||||
<if test="date != null">
|
||||
date,
|
||||
</if>
|
||||
<if test="scNo != null">
|
||||
sc_no,
|
||||
</if>
|
||||
<if test="fromPort != null">
|
||||
from_port,
|
||||
</if>
|
||||
<if test="toPort != null">
|
||||
to_port,
|
||||
</if>
|
||||
<if test="marksAndNo != null">
|
||||
marks_and_no,
|
||||
</if>
|
||||
<if test="unitPrice != null">
|
||||
unit_price,
|
||||
</if>
|
||||
<if test="amount != null">
|
||||
amount,
|
||||
</if>
|
||||
<if test="totalAmount != null">
|
||||
total_amount,
|
||||
</if>
|
||||
<if test="issuedBy != null">
|
||||
issued_by,
|
||||
</if>
|
||||
<if test="signature != null">
|
||||
signature,
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="saveStatus != null">
|
||||
save_status,
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
submit_status,
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number,
|
||||
</if>
|
||||
<if test="number != null">
|
||||
number,
|
||||
</if>
|
||||
<if test="quantitiesAndDescriptions != null">
|
||||
quantities_and_descriptions,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="address != null">
|
||||
#{address,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="invoiceNo != null">
|
||||
#{invoiceNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="lcNo != null">
|
||||
#{lcNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="date != null">
|
||||
#{date,jdbcType=DATE},
|
||||
</if>
|
||||
<if test="scNo != null">
|
||||
#{scNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="fromPort != null">
|
||||
#{fromPort,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="toPort != null">
|
||||
#{toPort,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="marksAndNo != null">
|
||||
#{marksAndNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="unitPrice != null">
|
||||
#{unitPrice,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="amount != null">
|
||||
#{amount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="totalAmount != null">
|
||||
#{totalAmount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="issuedBy != null">
|
||||
#{issuedBy,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="signature != null">
|
||||
#{signature,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
#{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
#{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="saveStatus != null">
|
||||
#{saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
#{submitStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
#{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="number != null">
|
||||
#{number,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="quantitiesAndDescriptions != null">
|
||||
#{quantitiesAndDescriptions,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.bank.entity.ExportCommercialInvoiceExample" resultType="java.lang.Long">
|
||||
select count(*) from export_commercial_invoice
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update export_commercial_invoice
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.address != null">
|
||||
address = #{record.address,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.invoiceNo != null">
|
||||
invoice_no = #{record.invoiceNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.lcNo != null">
|
||||
lc_no = #{record.lcNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.date != null">
|
||||
date = #{record.date,jdbcType=DATE},
|
||||
</if>
|
||||
<if test="record.scNo != null">
|
||||
sc_no = #{record.scNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.fromPort != null">
|
||||
from_port = #{record.fromPort,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.toPort != null">
|
||||
to_port = #{record.toPort,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.marksAndNo != null">
|
||||
marks_and_no = #{record.marksAndNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.unitPrice != null">
|
||||
unit_price = #{record.unitPrice,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.amount != null">
|
||||
amount = #{record.amount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.totalAmount != null">
|
||||
total_amount = #{record.totalAmount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.issuedBy != null">
|
||||
issued_by = #{record.issuedBy,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.signature != null">
|
||||
signature = #{record.signature,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,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.saveStatus != null">
|
||||
save_status = #{record.saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.submitStatus != null">
|
||||
submit_status = #{record.submitStatus,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.quantitiesAndDescriptions != null">
|
||||
quantities_and_descriptions = #{record.quantitiesAndDescriptions,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||
update export_commercial_invoice
|
||||
set id = #{record.id,jdbcType=INTEGER},
|
||||
address = #{record.address,jdbcType=VARCHAR},
|
||||
invoice_no = #{record.invoiceNo,jdbcType=VARCHAR},
|
||||
lc_no = #{record.lcNo,jdbcType=VARCHAR},
|
||||
date = #{record.date,jdbcType=DATE},
|
||||
sc_no = #{record.scNo,jdbcType=VARCHAR},
|
||||
from_port = #{record.fromPort,jdbcType=VARCHAR},
|
||||
to_port = #{record.toPort,jdbcType=VARCHAR},
|
||||
marks_and_no = #{record.marksAndNo,jdbcType=VARCHAR},
|
||||
unit_price = #{record.unitPrice,jdbcType=DECIMAL},
|
||||
amount = #{record.amount,jdbcType=DECIMAL},
|
||||
total_amount = #{record.totalAmount,jdbcType=DECIMAL},
|
||||
issued_by = #{record.issuedBy,jdbcType=VARCHAR},
|
||||
signature = #{record.signature,jdbcType=VARCHAR},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
save_status = #{record.saveStatus,jdbcType=INTEGER},
|
||||
submit_status = #{record.submitStatus,jdbcType=INTEGER},
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
number = #{record.number,jdbcType=INTEGER},
|
||||
quantities_and_descriptions = #{record.quantitiesAndDescriptions,jdbcType=LONGVARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update export_commercial_invoice
|
||||
set id = #{record.id,jdbcType=INTEGER},
|
||||
address = #{record.address,jdbcType=VARCHAR},
|
||||
invoice_no = #{record.invoiceNo,jdbcType=VARCHAR},
|
||||
lc_no = #{record.lcNo,jdbcType=VARCHAR},
|
||||
date = #{record.date,jdbcType=DATE},
|
||||
sc_no = #{record.scNo,jdbcType=VARCHAR},
|
||||
from_port = #{record.fromPort,jdbcType=VARCHAR},
|
||||
to_port = #{record.toPort,jdbcType=VARCHAR},
|
||||
marks_and_no = #{record.marksAndNo,jdbcType=VARCHAR},
|
||||
unit_price = #{record.unitPrice,jdbcType=DECIMAL},
|
||||
amount = #{record.amount,jdbcType=DECIMAL},
|
||||
total_amount = #{record.totalAmount,jdbcType=DECIMAL},
|
||||
issued_by = #{record.issuedBy,jdbcType=VARCHAR},
|
||||
signature = #{record.signature,jdbcType=VARCHAR},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
save_status = #{record.saveStatus,jdbcType=INTEGER},
|
||||
submit_status = #{record.submitStatus,jdbcType=INTEGER},
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
number = #{record.number,jdbcType=INTEGER}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.bank.entity.ExportCommercialInvoice">
|
||||
update export_commercial_invoice
|
||||
<set>
|
||||
<if test="address != null">
|
||||
address = #{address,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="invoiceNo != null">
|
||||
invoice_no = #{invoiceNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="lcNo != null">
|
||||
lc_no = #{lcNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="date != null">
|
||||
date = #{date,jdbcType=DATE},
|
||||
</if>
|
||||
<if test="scNo != null">
|
||||
sc_no = #{scNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="fromPort != null">
|
||||
from_port = #{fromPort,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="toPort != null">
|
||||
to_port = #{toPort,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="marksAndNo != null">
|
||||
marks_and_no = #{marksAndNo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="unitPrice != null">
|
||||
unit_price = #{unitPrice,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="amount != null">
|
||||
amount = #{amount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="totalAmount != null">
|
||||
total_amount = #{totalAmount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="issuedBy != null">
|
||||
issued_by = #{issuedBy,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="signature != null">
|
||||
signature = #{signature,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id = #{userId,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="saveStatus != null">
|
||||
save_status = #{saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
submit_status = #{submitStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="number != null">
|
||||
number = #{number,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="quantitiesAndDescriptions != null">
|
||||
quantities_and_descriptions = #{quantitiesAndDescriptions,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.bank.entity.ExportCommercialInvoice">
|
||||
update export_commercial_invoice
|
||||
set address = #{address,jdbcType=VARCHAR},
|
||||
invoice_no = #{invoiceNo,jdbcType=VARCHAR},
|
||||
lc_no = #{lcNo,jdbcType=VARCHAR},
|
||||
date = #{date,jdbcType=DATE},
|
||||
sc_no = #{scNo,jdbcType=VARCHAR},
|
||||
from_port = #{fromPort,jdbcType=VARCHAR},
|
||||
to_port = #{toPort,jdbcType=VARCHAR},
|
||||
marks_and_no = #{marksAndNo,jdbcType=VARCHAR},
|
||||
unit_price = #{unitPrice,jdbcType=DECIMAL},
|
||||
amount = #{amount,jdbcType=DECIMAL},
|
||||
total_amount = #{totalAmount,jdbcType=DECIMAL},
|
||||
issued_by = #{issuedBy,jdbcType=VARCHAR},
|
||||
signature = #{signature,jdbcType=VARCHAR},
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
save_status = #{saveStatus,jdbcType=INTEGER},
|
||||
submit_status = #{submitStatus,jdbcType=INTEGER},
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
number = #{number,jdbcType=INTEGER},
|
||||
quantities_and_descriptions = #{quantitiesAndDescriptions,jdbcType=LONGVARCHAR}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.bank.entity.ExportCommercialInvoice">
|
||||
update export_commercial_invoice
|
||||
set address = #{address,jdbcType=VARCHAR},
|
||||
invoice_no = #{invoiceNo,jdbcType=VARCHAR},
|
||||
lc_no = #{lcNo,jdbcType=VARCHAR},
|
||||
date = #{date,jdbcType=DATE},
|
||||
sc_no = #{scNo,jdbcType=VARCHAR},
|
||||
from_port = #{fromPort,jdbcType=VARCHAR},
|
||||
to_port = #{toPort,jdbcType=VARCHAR},
|
||||
marks_and_no = #{marksAndNo,jdbcType=VARCHAR},
|
||||
unit_price = #{unitPrice,jdbcType=DECIMAL},
|
||||
amount = #{amount,jdbcType=DECIMAL},
|
||||
total_amount = #{totalAmount,jdbcType=DECIMAL},
|
||||
issued_by = #{issuedBy,jdbcType=VARCHAR},
|
||||
signature = #{signature,jdbcType=VARCHAR},
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
save_status = #{saveStatus,jdbcType=INTEGER},
|
||||
submit_status = #{submitStatus,jdbcType=INTEGER},
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
number = #{number,jdbcType=INTEGER}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
</mapper>
|
@ -1,338 +0,0 @@
|
||||
<?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.ExportFinancingRegistrationMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.bank.entity.ExportFinancingRegistration">
|
||||
<id column="id" jdbcType="INTEGER" property="id" />
|
||||
<result column="financing_account" jdbcType="VARCHAR" property="financingAccount" />
|
||||
<result column="receipt_number" jdbcType="VARCHAR" property="receiptNumber" />
|
||||
<result column="interest_start_date" jdbcType="TIMESTAMP" property="interestStartDate" />
|
||||
<result column="loan_term" jdbcType="VARCHAR" property="loanTerm" />
|
||||
<result column="effective_interest_rate" jdbcType="VARCHAR" property="effectiveInterestRate" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="save_status" jdbcType="INTEGER" property="saveStatus" />
|
||||
<result column="submit_status" jdbcType="INTEGER" property="submitStatus" />
|
||||
<result column="error_number" jdbcType="INTEGER" property="errorNumber" />
|
||||
<result column="number" jdbcType="INTEGER" property="number" />
|
||||
</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, financing_account, receipt_number, interest_start_date, loan_term, effective_interest_rate,
|
||||
user_id, create_time, update_time, save_status, submit_status, error_number, number
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.bank.entity.ExportFinancingRegistrationExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from export_financing_registration
|
||||
<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.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from export_financing_registration
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
||||
delete from export_financing_registration
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.bank.entity.ExportFinancingRegistrationExample">
|
||||
delete from export_financing_registration
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.bank.entity.ExportFinancingRegistration">
|
||||
insert into export_financing_registration (id, financing_account, receipt_number,
|
||||
interest_start_date, loan_term, effective_interest_rate,
|
||||
user_id, create_time, update_time,
|
||||
save_status, submit_status, error_number,
|
||||
number)
|
||||
values (#{id,jdbcType=INTEGER}, #{financingAccount,jdbcType=VARCHAR}, #{receiptNumber,jdbcType=VARCHAR},
|
||||
#{interestStartDate,jdbcType=TIMESTAMP}, #{loanTerm,jdbcType=VARCHAR}, #{effectiveInterestRate,jdbcType=VARCHAR},
|
||||
#{userId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
|
||||
#{saveStatus,jdbcType=INTEGER}, #{submitStatus,jdbcType=INTEGER}, #{errorNumber,jdbcType=INTEGER},
|
||||
#{number,jdbcType=INTEGER})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.bank.entity.ExportFinancingRegistration">
|
||||
insert into export_financing_registration
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="financingAccount != null">
|
||||
financing_account,
|
||||
</if>
|
||||
<if test="receiptNumber != null">
|
||||
receipt_number,
|
||||
</if>
|
||||
<if test="interestStartDate != null">
|
||||
interest_start_date,
|
||||
</if>
|
||||
<if test="loanTerm != null">
|
||||
loan_term,
|
||||
</if>
|
||||
<if test="effectiveInterestRate != null">
|
||||
effective_interest_rate,
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="saveStatus != null">
|
||||
save_status,
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
submit_status,
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number,
|
||||
</if>
|
||||
<if test="number != null">
|
||||
number,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="financingAccount != null">
|
||||
#{financingAccount,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="receiptNumber != null">
|
||||
#{receiptNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="interestStartDate != null">
|
||||
#{interestStartDate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="loanTerm != null">
|
||||
#{loanTerm,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="effectiveInterestRate != null">
|
||||
#{effectiveInterestRate,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
#{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
#{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="saveStatus != null">
|
||||
#{saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
#{submitStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
#{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="number != null">
|
||||
#{number,jdbcType=INTEGER},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.bank.entity.ExportFinancingRegistrationExample" resultType="java.lang.Long">
|
||||
select count(*) from export_financing_registration
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update export_financing_registration
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.financingAccount != null">
|
||||
financing_account = #{record.financingAccount,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.receiptNumber != null">
|
||||
receipt_number = #{record.receiptNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.interestStartDate != null">
|
||||
interest_start_date = #{record.interestStartDate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.loanTerm != null">
|
||||
loan_term = #{record.loanTerm,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.effectiveInterestRate != null">
|
||||
effective_interest_rate = #{record.effectiveInterestRate,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,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.saveStatus != null">
|
||||
save_status = #{record.saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.submitStatus != null">
|
||||
submit_status = #{record.submitStatus,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>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update export_financing_registration
|
||||
set id = #{record.id,jdbcType=INTEGER},
|
||||
financing_account = #{record.financingAccount,jdbcType=VARCHAR},
|
||||
receipt_number = #{record.receiptNumber,jdbcType=VARCHAR},
|
||||
interest_start_date = #{record.interestStartDate,jdbcType=TIMESTAMP},
|
||||
loan_term = #{record.loanTerm,jdbcType=VARCHAR},
|
||||
effective_interest_rate = #{record.effectiveInterestRate,jdbcType=VARCHAR},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
save_status = #{record.saveStatus,jdbcType=INTEGER},
|
||||
submit_status = #{record.submitStatus,jdbcType=INTEGER},
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
number = #{record.number,jdbcType=INTEGER}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.bank.entity.ExportFinancingRegistration">
|
||||
update export_financing_registration
|
||||
<set>
|
||||
<if test="financingAccount != null">
|
||||
financing_account = #{financingAccount,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="receiptNumber != null">
|
||||
receipt_number = #{receiptNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="interestStartDate != null">
|
||||
interest_start_date = #{interestStartDate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="loanTerm != null">
|
||||
loan_term = #{loanTerm,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="effectiveInterestRate != null">
|
||||
effective_interest_rate = #{effectiveInterestRate,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id = #{userId,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="saveStatus != null">
|
||||
save_status = #{saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
submit_status = #{submitStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="number != null">
|
||||
number = #{number,jdbcType=INTEGER},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.bank.entity.ExportFinancingRegistration">
|
||||
update export_financing_registration
|
||||
set financing_account = #{financingAccount,jdbcType=VARCHAR},
|
||||
receipt_number = #{receiptNumber,jdbcType=VARCHAR},
|
||||
interest_start_date = #{interestStartDate,jdbcType=TIMESTAMP},
|
||||
loan_term = #{loanTerm,jdbcType=VARCHAR},
|
||||
effective_interest_rate = #{effectiveInterestRate,jdbcType=VARCHAR},
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
save_status = #{saveStatus,jdbcType=INTEGER},
|
||||
submit_status = #{submitStatus,jdbcType=INTEGER},
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
number = #{number,jdbcType=INTEGER}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
</mapper>
|
@ -1,306 +0,0 @@
|
||||
<?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.ExportFinancingReturnRegistrationMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.bank.entity.ExportFinancingReturnRegistration">
|
||||
<id column="id" jdbcType="INTEGER" property="id" />
|
||||
<result column="return_principal" jdbcType="DECIMAL" property="returnPrincipal" />
|
||||
<result column="receipt_number" jdbcType="VARCHAR" property="receiptNumber" />
|
||||
<result column="financing_return_account" jdbcType="VARCHAR" property="financingReturnAccount" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="save_status" jdbcType="INTEGER" property="saveStatus" />
|
||||
<result column="submit_status" jdbcType="INTEGER" property="submitStatus" />
|
||||
<result column="error_number" jdbcType="INTEGER" property="errorNumber" />
|
||||
<result column="number" jdbcType="INTEGER" property="number" />
|
||||
</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, return_principal, receipt_number, financing_return_account, user_id, create_time,
|
||||
update_time, save_status, submit_status, error_number, number
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.bank.entity.ExportFinancingReturnRegistrationExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from export_financing_return_registration
|
||||
<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.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from export_financing_return_registration
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
||||
delete from export_financing_return_registration
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.bank.entity.ExportFinancingReturnRegistrationExample">
|
||||
delete from export_financing_return_registration
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.bank.entity.ExportFinancingReturnRegistration">
|
||||
insert into export_financing_return_registration (id, return_principal, receipt_number,
|
||||
financing_return_account, user_id, create_time,
|
||||
update_time, save_status, submit_status,
|
||||
error_number, number)
|
||||
values (#{id,jdbcType=INTEGER}, #{returnPrincipal,jdbcType=DECIMAL}, #{receiptNumber,jdbcType=VARCHAR},
|
||||
#{financingReturnAccount,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
||||
#{updateTime,jdbcType=TIMESTAMP}, #{saveStatus,jdbcType=INTEGER}, #{submitStatus,jdbcType=INTEGER},
|
||||
#{errorNumber,jdbcType=INTEGER}, #{number,jdbcType=INTEGER})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.bank.entity.ExportFinancingReturnRegistration">
|
||||
insert into export_financing_return_registration
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="returnPrincipal != null">
|
||||
return_principal,
|
||||
</if>
|
||||
<if test="receiptNumber != null">
|
||||
receipt_number,
|
||||
</if>
|
||||
<if test="financingReturnAccount != null">
|
||||
financing_return_account,
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="saveStatus != null">
|
||||
save_status,
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
submit_status,
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number,
|
||||
</if>
|
||||
<if test="number != null">
|
||||
number,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="returnPrincipal != null">
|
||||
#{returnPrincipal,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="receiptNumber != null">
|
||||
#{receiptNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="financingReturnAccount != null">
|
||||
#{financingReturnAccount,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
#{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
#{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="saveStatus != null">
|
||||
#{saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
#{submitStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
#{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="number != null">
|
||||
#{number,jdbcType=INTEGER},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.bank.entity.ExportFinancingReturnRegistrationExample" resultType="java.lang.Long">
|
||||
select count(*) from export_financing_return_registration
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update export_financing_return_registration
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.returnPrincipal != null">
|
||||
return_principal = #{record.returnPrincipal,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.receiptNumber != null">
|
||||
receipt_number = #{record.receiptNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.financingReturnAccount != null">
|
||||
financing_return_account = #{record.financingReturnAccount,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,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.saveStatus != null">
|
||||
save_status = #{record.saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.submitStatus != null">
|
||||
submit_status = #{record.submitStatus,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>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update export_financing_return_registration
|
||||
set id = #{record.id,jdbcType=INTEGER},
|
||||
return_principal = #{record.returnPrincipal,jdbcType=DECIMAL},
|
||||
receipt_number = #{record.receiptNumber,jdbcType=VARCHAR},
|
||||
financing_return_account = #{record.financingReturnAccount,jdbcType=VARCHAR},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
save_status = #{record.saveStatus,jdbcType=INTEGER},
|
||||
submit_status = #{record.submitStatus,jdbcType=INTEGER},
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
number = #{record.number,jdbcType=INTEGER}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.bank.entity.ExportFinancingReturnRegistration">
|
||||
update export_financing_return_registration
|
||||
<set>
|
||||
<if test="returnPrincipal != null">
|
||||
return_principal = #{returnPrincipal,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="receiptNumber != null">
|
||||
receipt_number = #{receiptNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="financingReturnAccount != null">
|
||||
financing_return_account = #{financingReturnAccount,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id = #{userId,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="saveStatus != null">
|
||||
save_status = #{saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
submit_status = #{submitStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="number != null">
|
||||
number = #{number,jdbcType=INTEGER},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.bank.entity.ExportFinancingReturnRegistration">
|
||||
update export_financing_return_registration
|
||||
set return_principal = #{returnPrincipal,jdbcType=DECIMAL},
|
||||
receipt_number = #{receiptNumber,jdbcType=VARCHAR},
|
||||
financing_return_account = #{financingReturnAccount,jdbcType=VARCHAR},
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
save_status = #{saveStatus,jdbcType=INTEGER},
|
||||
submit_status = #{submitStatus,jdbcType=INTEGER},
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
number = #{number,jdbcType=INTEGER}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
</mapper>
|
@ -1,306 +0,0 @@
|
||||
<?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.ExportPaymentAcceptanceMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.bank.entity.ExportPaymentAcceptance">
|
||||
<id column="id" jdbcType="INTEGER" property="id" />
|
||||
<result column="response_type" jdbcType="VARCHAR" property="responseType" />
|
||||
<result column="amount" jdbcType="DECIMAL" property="amount" />
|
||||
<result column="currency" jdbcType="VARCHAR" property="currency" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="save_status" jdbcType="INTEGER" property="saveStatus" />
|
||||
<result column="submit_status" jdbcType="INTEGER" property="submitStatus" />
|
||||
<result column="error_number" jdbcType="INTEGER" property="errorNumber" />
|
||||
<result column="number" jdbcType="INTEGER" property="number" />
|
||||
</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, response_type, amount, currency, user_id, create_time, update_time, save_status,
|
||||
submit_status, error_number, number
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.bank.entity.ExportPaymentAcceptanceExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from export_payment_acceptance
|
||||
<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.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from export_payment_acceptance
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
||||
delete from export_payment_acceptance
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.bank.entity.ExportPaymentAcceptanceExample">
|
||||
delete from export_payment_acceptance
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.bank.entity.ExportPaymentAcceptance">
|
||||
insert into export_payment_acceptance (id, response_type, amount,
|
||||
currency, user_id, create_time,
|
||||
update_time, save_status, submit_status,
|
||||
error_number, number)
|
||||
values (#{id,jdbcType=INTEGER}, #{responseType,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL},
|
||||
#{currency,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
||||
#{updateTime,jdbcType=TIMESTAMP}, #{saveStatus,jdbcType=INTEGER}, #{submitStatus,jdbcType=INTEGER},
|
||||
#{errorNumber,jdbcType=INTEGER}, #{number,jdbcType=INTEGER})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.bank.entity.ExportPaymentAcceptance">
|
||||
insert into export_payment_acceptance
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="responseType != null">
|
||||
response_type,
|
||||
</if>
|
||||
<if test="amount != null">
|
||||
amount,
|
||||
</if>
|
||||
<if test="currency != null">
|
||||
currency,
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="saveStatus != null">
|
||||
save_status,
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
submit_status,
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number,
|
||||
</if>
|
||||
<if test="number != null">
|
||||
number,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="responseType != null">
|
||||
#{responseType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="amount != null">
|
||||
#{amount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="currency != null">
|
||||
#{currency,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
#{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
#{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="saveStatus != null">
|
||||
#{saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
#{submitStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
#{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="number != null">
|
||||
#{number,jdbcType=INTEGER},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.bank.entity.ExportPaymentAcceptanceExample" resultType="java.lang.Long">
|
||||
select count(*) from export_payment_acceptance
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update export_payment_acceptance
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.responseType != null">
|
||||
response_type = #{record.responseType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.amount != null">
|
||||
amount = #{record.amount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.currency != null">
|
||||
currency = #{record.currency,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,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.saveStatus != null">
|
||||
save_status = #{record.saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.submitStatus != null">
|
||||
submit_status = #{record.submitStatus,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>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update export_payment_acceptance
|
||||
set id = #{record.id,jdbcType=INTEGER},
|
||||
response_type = #{record.responseType,jdbcType=VARCHAR},
|
||||
amount = #{record.amount,jdbcType=DECIMAL},
|
||||
currency = #{record.currency,jdbcType=VARCHAR},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
save_status = #{record.saveStatus,jdbcType=INTEGER},
|
||||
submit_status = #{record.submitStatus,jdbcType=INTEGER},
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
number = #{record.number,jdbcType=INTEGER}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.bank.entity.ExportPaymentAcceptance">
|
||||
update export_payment_acceptance
|
||||
<set>
|
||||
<if test="responseType != null">
|
||||
response_type = #{responseType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="amount != null">
|
||||
amount = #{amount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="currency != null">
|
||||
currency = #{currency,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id = #{userId,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="saveStatus != null">
|
||||
save_status = #{saveStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="submitStatus != null">
|
||||
submit_status = #{submitStatus,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="number != null">
|
||||
number = #{number,jdbcType=INTEGER},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.bank.entity.ExportPaymentAcceptance">
|
||||
update export_payment_acceptance
|
||||
set response_type = #{responseType,jdbcType=VARCHAR},
|
||||
amount = #{amount,jdbcType=DECIMAL},
|
||||
currency = #{currency,jdbcType=VARCHAR},
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
save_status = #{saveStatus,jdbcType=INTEGER},
|
||||
submit_status = #{submitStatus,jdbcType=INTEGER},
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
number = #{number,jdbcType=INTEGER}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
</mapper>
|
Loading…
Reference in New Issue