完成贷款记录
parent
c653ede7e3
commit
d3ce0d3e11
@ -0,0 +1,284 @@
|
||||
package com.sztzjy.digital_credit.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
/**
|
||||
*
|
||||
* @author tz
|
||||
* stu_credit_records
|
||||
*/
|
||||
public class StuCreditRecords {
|
||||
@ApiModelProperty("id")
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty("用户ID")
|
||||
private String userId;
|
||||
|
||||
@ApiModelProperty("提交状态")
|
||||
private Integer subState;
|
||||
|
||||
@ApiModelProperty("错误次数")
|
||||
private Integer errorNumber;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("由资产管理公司处置的债务-笔数")
|
||||
private String assetCompanyDebtNumber;
|
||||
|
||||
@ApiModelProperty("由资产管理公司处置的债务-余额")
|
||||
private String assetCompanyDebtBalance;
|
||||
|
||||
@ApiModelProperty("管理公司处置的债务-最近一次处置完成日期")
|
||||
private String assetCompanyDebtDate;
|
||||
|
||||
@ApiModelProperty("欠息汇总-笔数")
|
||||
private String summaryOfOutstandInterestNumber;
|
||||
|
||||
@ApiModelProperty("欠息汇总-余额")
|
||||
private String summaryOfOutstandInterestBalance;
|
||||
|
||||
@ApiModelProperty("垫款-笔数")
|
||||
private String makeAdvanceNumber;
|
||||
|
||||
@ApiModelProperty("垫款-余额")
|
||||
private String makeAdvanceBalance;
|
||||
|
||||
@ApiModelProperty("担保及第三方代偿的债务-笔数")
|
||||
private String debtCompensThreePartiesNumber;
|
||||
|
||||
@ApiModelProperty("担保及第三方代偿的债务-余额")
|
||||
private String debtCompensThreePartiesBalance;
|
||||
|
||||
@ApiModelProperty("担保及第三方代偿的债务-最近一次还款日期")
|
||||
private String debtCompensThreePartiesDate;
|
||||
|
||||
@ApiModelProperty("正常类汇总-合计-笔数")
|
||||
private String summaryNormalCategoriesTotalNumber;
|
||||
|
||||
@ApiModelProperty("正常类汇总-合计-余额")
|
||||
private String summaryNormalCategoriesTotalBalance;
|
||||
|
||||
@ApiModelProperty("关注类汇总-合计-笔数")
|
||||
private String summaryAttentionCategoriesTotalNumber;
|
||||
|
||||
@ApiModelProperty("关注类汇总-合计-余额")
|
||||
private String summaryAttentionCategoriesTotalBalance;
|
||||
|
||||
@ApiModelProperty("不良/违约类汇总-合计-笔数")
|
||||
private String summaryDefaultCategoriesTotalNumber;
|
||||
|
||||
@ApiModelProperty("不良/违约类汇总-合计-余额")
|
||||
private String summaryDefaultCategoriesTotalBalance;
|
||||
|
||||
@ApiModelProperty("当前负债信息概要")
|
||||
private String summaryCurrentLiabilityInformation;
|
||||
|
||||
@ApiModelProperty("已还清债务信息概要")
|
||||
private String summartInformationFullRepaidDebt;
|
||||
|
||||
@ApiModelProperty("对外担保信息概要")
|
||||
private String summaryExternalGuaranteeInformation;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id == null ? null : id.trim();
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId == null ? null : userId.trim();
|
||||
}
|
||||
|
||||
public Integer getSubState() {
|
||||
return subState;
|
||||
}
|
||||
|
||||
public void setSubState(Integer subState) {
|
||||
this.subState = subState;
|
||||
}
|
||||
|
||||
public Integer getErrorNumber() {
|
||||
return errorNumber;
|
||||
}
|
||||
|
||||
public void setErrorNumber(Integer errorNumber) {
|
||||
this.errorNumber = errorNumber;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Date getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(Date updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
public String getAssetCompanyDebtNumber() {
|
||||
return assetCompanyDebtNumber;
|
||||
}
|
||||
|
||||
public void setAssetCompanyDebtNumber(String assetCompanyDebtNumber) {
|
||||
this.assetCompanyDebtNumber = assetCompanyDebtNumber == null ? null : assetCompanyDebtNumber.trim();
|
||||
}
|
||||
|
||||
public String getAssetCompanyDebtBalance() {
|
||||
return assetCompanyDebtBalance;
|
||||
}
|
||||
|
||||
public void setAssetCompanyDebtBalance(String assetCompanyDebtBalance) {
|
||||
this.assetCompanyDebtBalance = assetCompanyDebtBalance == null ? null : assetCompanyDebtBalance.trim();
|
||||
}
|
||||
|
||||
public String getAssetCompanyDebtDate() {
|
||||
return assetCompanyDebtDate;
|
||||
}
|
||||
|
||||
public void setAssetCompanyDebtDate(String assetCompanyDebtDate) {
|
||||
this.assetCompanyDebtDate = assetCompanyDebtDate == null ? null : assetCompanyDebtDate.trim();
|
||||
}
|
||||
|
||||
public String getSummaryOfOutstandInterestNumber() {
|
||||
return summaryOfOutstandInterestNumber;
|
||||
}
|
||||
|
||||
public void setSummaryOfOutstandInterestNumber(String summaryOfOutstandInterestNumber) {
|
||||
this.summaryOfOutstandInterestNumber = summaryOfOutstandInterestNumber == null ? null : summaryOfOutstandInterestNumber.trim();
|
||||
}
|
||||
|
||||
public String getSummaryOfOutstandInterestBalance() {
|
||||
return summaryOfOutstandInterestBalance;
|
||||
}
|
||||
|
||||
public void setSummaryOfOutstandInterestBalance(String summaryOfOutstandInterestBalance) {
|
||||
this.summaryOfOutstandInterestBalance = summaryOfOutstandInterestBalance == null ? null : summaryOfOutstandInterestBalance.trim();
|
||||
}
|
||||
|
||||
public String getMakeAdvanceNumber() {
|
||||
return makeAdvanceNumber;
|
||||
}
|
||||
|
||||
public void setMakeAdvanceNumber(String makeAdvanceNumber) {
|
||||
this.makeAdvanceNumber = makeAdvanceNumber == null ? null : makeAdvanceNumber.trim();
|
||||
}
|
||||
|
||||
public String getMakeAdvanceBalance() {
|
||||
return makeAdvanceBalance;
|
||||
}
|
||||
|
||||
public void setMakeAdvanceBalance(String makeAdvanceBalance) {
|
||||
this.makeAdvanceBalance = makeAdvanceBalance == null ? null : makeAdvanceBalance.trim();
|
||||
}
|
||||
|
||||
public String getDebtCompensThreePartiesNumber() {
|
||||
return debtCompensThreePartiesNumber;
|
||||
}
|
||||
|
||||
public void setDebtCompensThreePartiesNumber(String debtCompensThreePartiesNumber) {
|
||||
this.debtCompensThreePartiesNumber = debtCompensThreePartiesNumber == null ? null : debtCompensThreePartiesNumber.trim();
|
||||
}
|
||||
|
||||
public String getDebtCompensThreePartiesBalance() {
|
||||
return debtCompensThreePartiesBalance;
|
||||
}
|
||||
|
||||
public void setDebtCompensThreePartiesBalance(String debtCompensThreePartiesBalance) {
|
||||
this.debtCompensThreePartiesBalance = debtCompensThreePartiesBalance == null ? null : debtCompensThreePartiesBalance.trim();
|
||||
}
|
||||
|
||||
public String getDebtCompensThreePartiesDate() {
|
||||
return debtCompensThreePartiesDate;
|
||||
}
|
||||
|
||||
public void setDebtCompensThreePartiesDate(String debtCompensThreePartiesDate) {
|
||||
this.debtCompensThreePartiesDate = debtCompensThreePartiesDate == null ? null : debtCompensThreePartiesDate.trim();
|
||||
}
|
||||
|
||||
public String getSummaryNormalCategoriesTotalNumber() {
|
||||
return summaryNormalCategoriesTotalNumber;
|
||||
}
|
||||
|
||||
public void setSummaryNormalCategoriesTotalNumber(String summaryNormalCategoriesTotalNumber) {
|
||||
this.summaryNormalCategoriesTotalNumber = summaryNormalCategoriesTotalNumber == null ? null : summaryNormalCategoriesTotalNumber.trim();
|
||||
}
|
||||
|
||||
public String getSummaryNormalCategoriesTotalBalance() {
|
||||
return summaryNormalCategoriesTotalBalance;
|
||||
}
|
||||
|
||||
public void setSummaryNormalCategoriesTotalBalance(String summaryNormalCategoriesTotalBalance) {
|
||||
this.summaryNormalCategoriesTotalBalance = summaryNormalCategoriesTotalBalance == null ? null : summaryNormalCategoriesTotalBalance.trim();
|
||||
}
|
||||
|
||||
public String getSummaryAttentionCategoriesTotalNumber() {
|
||||
return summaryAttentionCategoriesTotalNumber;
|
||||
}
|
||||
|
||||
public void setSummaryAttentionCategoriesTotalNumber(String summaryAttentionCategoriesTotalNumber) {
|
||||
this.summaryAttentionCategoriesTotalNumber = summaryAttentionCategoriesTotalNumber == null ? null : summaryAttentionCategoriesTotalNumber.trim();
|
||||
}
|
||||
|
||||
public String getSummaryAttentionCategoriesTotalBalance() {
|
||||
return summaryAttentionCategoriesTotalBalance;
|
||||
}
|
||||
|
||||
public void setSummaryAttentionCategoriesTotalBalance(String summaryAttentionCategoriesTotalBalance) {
|
||||
this.summaryAttentionCategoriesTotalBalance = summaryAttentionCategoriesTotalBalance == null ? null : summaryAttentionCategoriesTotalBalance.trim();
|
||||
}
|
||||
|
||||
public String getSummaryDefaultCategoriesTotalNumber() {
|
||||
return summaryDefaultCategoriesTotalNumber;
|
||||
}
|
||||
|
||||
public void setSummaryDefaultCategoriesTotalNumber(String summaryDefaultCategoriesTotalNumber) {
|
||||
this.summaryDefaultCategoriesTotalNumber = summaryDefaultCategoriesTotalNumber == null ? null : summaryDefaultCategoriesTotalNumber.trim();
|
||||
}
|
||||
|
||||
public String getSummaryDefaultCategoriesTotalBalance() {
|
||||
return summaryDefaultCategoriesTotalBalance;
|
||||
}
|
||||
|
||||
public void setSummaryDefaultCategoriesTotalBalance(String summaryDefaultCategoriesTotalBalance) {
|
||||
this.summaryDefaultCategoriesTotalBalance = summaryDefaultCategoriesTotalBalance == null ? null : summaryDefaultCategoriesTotalBalance.trim();
|
||||
}
|
||||
|
||||
public String getSummaryCurrentLiabilityInformation() {
|
||||
return summaryCurrentLiabilityInformation;
|
||||
}
|
||||
|
||||
public void setSummaryCurrentLiabilityInformation(String summaryCurrentLiabilityInformation) {
|
||||
this.summaryCurrentLiabilityInformation = summaryCurrentLiabilityInformation == null ? null : summaryCurrentLiabilityInformation.trim();
|
||||
}
|
||||
|
||||
public String getSummartInformationFullRepaidDebt() {
|
||||
return summartInformationFullRepaidDebt;
|
||||
}
|
||||
|
||||
public void setSummartInformationFullRepaidDebt(String summartInformationFullRepaidDebt) {
|
||||
this.summartInformationFullRepaidDebt = summartInformationFullRepaidDebt == null ? null : summartInformationFullRepaidDebt.trim();
|
||||
}
|
||||
|
||||
public String getSummaryExternalGuaranteeInformation() {
|
||||
return summaryExternalGuaranteeInformation;
|
||||
}
|
||||
|
||||
public void setSummaryExternalGuaranteeInformation(String summaryExternalGuaranteeInformation) {
|
||||
this.summaryExternalGuaranteeInformation = summaryExternalGuaranteeInformation == null ? null : summaryExternalGuaranteeInformation.trim();
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,30 @@
|
||||
package com.sztzjy.digital_credit.mapper;
|
||||
|
||||
import com.sztzjy.digital_credit.entity.StuCreditRecords;
|
||||
import com.sztzjy.digital_credit.entity.StuCreditRecordsExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface StuCreditRecordsMapper {
|
||||
long countByExample(StuCreditRecordsExample example);
|
||||
|
||||
int deleteByExample(StuCreditRecordsExample example);
|
||||
|
||||
int deleteByPrimaryKey(String id);
|
||||
|
||||
int insert(StuCreditRecords record);
|
||||
|
||||
int insertSelective(StuCreditRecords record);
|
||||
|
||||
List<StuCreditRecords> selectByExample(StuCreditRecordsExample example);
|
||||
|
||||
StuCreditRecords selectByPrimaryKey(String id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") StuCreditRecords record, @Param("example") StuCreditRecordsExample example);
|
||||
|
||||
int updateByExample(@Param("record") StuCreditRecords record, @Param("example") StuCreditRecordsExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(StuCreditRecords record);
|
||||
|
||||
int updateByPrimaryKey(StuCreditRecords record);
|
||||
}
|
@ -0,0 +1,538 @@
|
||||
<?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.digital_credit.mapper.StuCreditRecordsMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.digital_credit.entity.StuCreditRecords">
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="sub_state" jdbcType="INTEGER" property="subState" />
|
||||
<result column="error_number" jdbcType="INTEGER" property="errorNumber" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="asset_company_debt_number" jdbcType="VARCHAR" property="assetCompanyDebtNumber" />
|
||||
<result column="asset_company_debt_balance" jdbcType="VARCHAR" property="assetCompanyDebtBalance" />
|
||||
<result column="asset_company_debt_date" jdbcType="VARCHAR" property="assetCompanyDebtDate" />
|
||||
<result column="summary_of_outstand_interest_number" jdbcType="VARCHAR" property="summaryOfOutstandInterestNumber" />
|
||||
<result column="summary_of_outstand_interest_balance" jdbcType="VARCHAR" property="summaryOfOutstandInterestBalance" />
|
||||
<result column="make_advance_number" jdbcType="VARCHAR" property="makeAdvanceNumber" />
|
||||
<result column="make_advance_balance" jdbcType="VARCHAR" property="makeAdvanceBalance" />
|
||||
<result column="debt_compens_three_parties_number" jdbcType="VARCHAR" property="debtCompensThreePartiesNumber" />
|
||||
<result column="debt_compens_three_parties_balance" jdbcType="VARCHAR" property="debtCompensThreePartiesBalance" />
|
||||
<result column="debt_compens_three_parties_date" jdbcType="VARCHAR" property="debtCompensThreePartiesDate" />
|
||||
<result column="summary_normal_categories_total_number" jdbcType="VARCHAR" property="summaryNormalCategoriesTotalNumber" />
|
||||
<result column="summary_normal_categories_total_balance" jdbcType="VARCHAR" property="summaryNormalCategoriesTotalBalance" />
|
||||
<result column="summary_attention_categories_total_number" jdbcType="VARCHAR" property="summaryAttentionCategoriesTotalNumber" />
|
||||
<result column="summary_attention_categories_total_balance" jdbcType="VARCHAR" property="summaryAttentionCategoriesTotalBalance" />
|
||||
<result column="summary_default_categories_total_number" jdbcType="VARCHAR" property="summaryDefaultCategoriesTotalNumber" />
|
||||
<result column="summary_default_categories_total_balance" jdbcType="VARCHAR" property="summaryDefaultCategoriesTotalBalance" />
|
||||
<result column="summary_current_liability_information" jdbcType="VARCHAR" property="summaryCurrentLiabilityInformation" />
|
||||
<result column="summart_information_full_repaid_debt" jdbcType="VARCHAR" property="summartInformationFullRepaidDebt" />
|
||||
<result column="summary_external_guarantee_information" jdbcType="VARCHAR" property="summaryExternalGuaranteeInformation" />
|
||||
</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, user_id, sub_state, error_number, create_time, update_time, asset_company_debt_number,
|
||||
asset_company_debt_balance, asset_company_debt_date, summary_of_outstand_interest_number,
|
||||
summary_of_outstand_interest_balance, make_advance_number, make_advance_balance,
|
||||
debt_compens_three_parties_number, debt_compens_three_parties_balance, debt_compens_three_parties_date,
|
||||
summary_normal_categories_total_number, summary_normal_categories_total_balance,
|
||||
summary_attention_categories_total_number, summary_attention_categories_total_balance,
|
||||
summary_default_categories_total_number, summary_default_categories_total_balance,
|
||||
summary_current_liability_information, summart_information_full_repaid_debt, summary_external_guarantee_information
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.digital_credit.entity.StuCreditRecordsExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from stu_credit_records
|
||||
<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 stu_credit_records
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from stu_credit_records
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.digital_credit.entity.StuCreditRecordsExample">
|
||||
delete from stu_credit_records
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.digital_credit.entity.StuCreditRecords">
|
||||
insert into stu_credit_records (id, user_id, sub_state,
|
||||
error_number, create_time, update_time,
|
||||
asset_company_debt_number, asset_company_debt_balance,
|
||||
asset_company_debt_date, summary_of_outstand_interest_number,
|
||||
summary_of_outstand_interest_balance, make_advance_number,
|
||||
make_advance_balance, debt_compens_three_parties_number,
|
||||
debt_compens_three_parties_balance, debt_compens_three_parties_date,
|
||||
summary_normal_categories_total_number, summary_normal_categories_total_balance,
|
||||
summary_attention_categories_total_number, summary_attention_categories_total_balance,
|
||||
summary_default_categories_total_number, summary_default_categories_total_balance,
|
||||
summary_current_liability_information, summart_information_full_repaid_debt,
|
||||
summary_external_guarantee_information)
|
||||
values (#{id,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{subState,jdbcType=INTEGER},
|
||||
#{errorNumber,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
|
||||
#{assetCompanyDebtNumber,jdbcType=VARCHAR}, #{assetCompanyDebtBalance,jdbcType=VARCHAR},
|
||||
#{assetCompanyDebtDate,jdbcType=VARCHAR}, #{summaryOfOutstandInterestNumber,jdbcType=VARCHAR},
|
||||
#{summaryOfOutstandInterestBalance,jdbcType=VARCHAR}, #{makeAdvanceNumber,jdbcType=VARCHAR},
|
||||
#{makeAdvanceBalance,jdbcType=VARCHAR}, #{debtCompensThreePartiesNumber,jdbcType=VARCHAR},
|
||||
#{debtCompensThreePartiesBalance,jdbcType=VARCHAR}, #{debtCompensThreePartiesDate,jdbcType=VARCHAR},
|
||||
#{summaryNormalCategoriesTotalNumber,jdbcType=VARCHAR}, #{summaryNormalCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
#{summaryAttentionCategoriesTotalNumber,jdbcType=VARCHAR}, #{summaryAttentionCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
#{summaryDefaultCategoriesTotalNumber,jdbcType=VARCHAR}, #{summaryDefaultCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
#{summaryCurrentLiabilityInformation,jdbcType=VARCHAR}, #{summartInformationFullRepaidDebt,jdbcType=VARCHAR},
|
||||
#{summaryExternalGuaranteeInformation,jdbcType=VARCHAR})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.digital_credit.entity.StuCreditRecords">
|
||||
insert into stu_credit_records
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="subState != null">
|
||||
sub_state,
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number,
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="assetCompanyDebtNumber != null">
|
||||
asset_company_debt_number,
|
||||
</if>
|
||||
<if test="assetCompanyDebtBalance != null">
|
||||
asset_company_debt_balance,
|
||||
</if>
|
||||
<if test="assetCompanyDebtDate != null">
|
||||
asset_company_debt_date,
|
||||
</if>
|
||||
<if test="summaryOfOutstandInterestNumber != null">
|
||||
summary_of_outstand_interest_number,
|
||||
</if>
|
||||
<if test="summaryOfOutstandInterestBalance != null">
|
||||
summary_of_outstand_interest_balance,
|
||||
</if>
|
||||
<if test="makeAdvanceNumber != null">
|
||||
make_advance_number,
|
||||
</if>
|
||||
<if test="makeAdvanceBalance != null">
|
||||
make_advance_balance,
|
||||
</if>
|
||||
<if test="debtCompensThreePartiesNumber != null">
|
||||
debt_compens_three_parties_number,
|
||||
</if>
|
||||
<if test="debtCompensThreePartiesBalance != null">
|
||||
debt_compens_three_parties_balance,
|
||||
</if>
|
||||
<if test="debtCompensThreePartiesDate != null">
|
||||
debt_compens_three_parties_date,
|
||||
</if>
|
||||
<if test="summaryNormalCategoriesTotalNumber != null">
|
||||
summary_normal_categories_total_number,
|
||||
</if>
|
||||
<if test="summaryNormalCategoriesTotalBalance != null">
|
||||
summary_normal_categories_total_balance,
|
||||
</if>
|
||||
<if test="summaryAttentionCategoriesTotalNumber != null">
|
||||
summary_attention_categories_total_number,
|
||||
</if>
|
||||
<if test="summaryAttentionCategoriesTotalBalance != null">
|
||||
summary_attention_categories_total_balance,
|
||||
</if>
|
||||
<if test="summaryDefaultCategoriesTotalNumber != null">
|
||||
summary_default_categories_total_number,
|
||||
</if>
|
||||
<if test="summaryDefaultCategoriesTotalBalance != null">
|
||||
summary_default_categories_total_balance,
|
||||
</if>
|
||||
<if test="summaryCurrentLiabilityInformation != null">
|
||||
summary_current_liability_information,
|
||||
</if>
|
||||
<if test="summartInformationFullRepaidDebt != null">
|
||||
summart_information_full_repaid_debt,
|
||||
</if>
|
||||
<if test="summaryExternalGuaranteeInformation != null">
|
||||
summary_external_guarantee_information,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="subState != null">
|
||||
#{subState,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
#{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
#{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
#{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="assetCompanyDebtNumber != null">
|
||||
#{assetCompanyDebtNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="assetCompanyDebtBalance != null">
|
||||
#{assetCompanyDebtBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="assetCompanyDebtDate != null">
|
||||
#{assetCompanyDebtDate,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryOfOutstandInterestNumber != null">
|
||||
#{summaryOfOutstandInterestNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryOfOutstandInterestBalance != null">
|
||||
#{summaryOfOutstandInterestBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="makeAdvanceNumber != null">
|
||||
#{makeAdvanceNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="makeAdvanceBalance != null">
|
||||
#{makeAdvanceBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="debtCompensThreePartiesNumber != null">
|
||||
#{debtCompensThreePartiesNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="debtCompensThreePartiesBalance != null">
|
||||
#{debtCompensThreePartiesBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="debtCompensThreePartiesDate != null">
|
||||
#{debtCompensThreePartiesDate,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryNormalCategoriesTotalNumber != null">
|
||||
#{summaryNormalCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryNormalCategoriesTotalBalance != null">
|
||||
#{summaryNormalCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryAttentionCategoriesTotalNumber != null">
|
||||
#{summaryAttentionCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryAttentionCategoriesTotalBalance != null">
|
||||
#{summaryAttentionCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryDefaultCategoriesTotalNumber != null">
|
||||
#{summaryDefaultCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryDefaultCategoriesTotalBalance != null">
|
||||
#{summaryDefaultCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryCurrentLiabilityInformation != null">
|
||||
#{summaryCurrentLiabilityInformation,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summartInformationFullRepaidDebt != null">
|
||||
#{summartInformationFullRepaidDebt,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryExternalGuaranteeInformation != null">
|
||||
#{summaryExternalGuaranteeInformation,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.digital_credit.entity.StuCreditRecordsExample" resultType="java.lang.Long">
|
||||
select count(*) from stu_credit_records
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update stu_credit_records
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
</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.createTime != null">
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.assetCompanyDebtNumber != null">
|
||||
asset_company_debt_number = #{record.assetCompanyDebtNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.assetCompanyDebtBalance != null">
|
||||
asset_company_debt_balance = #{record.assetCompanyDebtBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.assetCompanyDebtDate != null">
|
||||
asset_company_debt_date = #{record.assetCompanyDebtDate,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.summaryOfOutstandInterestNumber != null">
|
||||
summary_of_outstand_interest_number = #{record.summaryOfOutstandInterestNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.summaryOfOutstandInterestBalance != null">
|
||||
summary_of_outstand_interest_balance = #{record.summaryOfOutstandInterestBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.makeAdvanceNumber != null">
|
||||
make_advance_number = #{record.makeAdvanceNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.makeAdvanceBalance != null">
|
||||
make_advance_balance = #{record.makeAdvanceBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.debtCompensThreePartiesNumber != null">
|
||||
debt_compens_three_parties_number = #{record.debtCompensThreePartiesNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.debtCompensThreePartiesBalance != null">
|
||||
debt_compens_three_parties_balance = #{record.debtCompensThreePartiesBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.debtCompensThreePartiesDate != null">
|
||||
debt_compens_three_parties_date = #{record.debtCompensThreePartiesDate,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.summaryNormalCategoriesTotalNumber != null">
|
||||
summary_normal_categories_total_number = #{record.summaryNormalCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.summaryNormalCategoriesTotalBalance != null">
|
||||
summary_normal_categories_total_balance = #{record.summaryNormalCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.summaryAttentionCategoriesTotalNumber != null">
|
||||
summary_attention_categories_total_number = #{record.summaryAttentionCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.summaryAttentionCategoriesTotalBalance != null">
|
||||
summary_attention_categories_total_balance = #{record.summaryAttentionCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.summaryDefaultCategoriesTotalNumber != null">
|
||||
summary_default_categories_total_number = #{record.summaryDefaultCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.summaryDefaultCategoriesTotalBalance != null">
|
||||
summary_default_categories_total_balance = #{record.summaryDefaultCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.summaryCurrentLiabilityInformation != null">
|
||||
summary_current_liability_information = #{record.summaryCurrentLiabilityInformation,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.summartInformationFullRepaidDebt != null">
|
||||
summart_information_full_repaid_debt = #{record.summartInformationFullRepaidDebt,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.summaryExternalGuaranteeInformation != null">
|
||||
summary_external_guarantee_information = #{record.summaryExternalGuaranteeInformation,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update stu_credit_records
|
||||
set id = #{record.id,jdbcType=VARCHAR},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
sub_state = #{record.subState,jdbcType=INTEGER},
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
asset_company_debt_number = #{record.assetCompanyDebtNumber,jdbcType=VARCHAR},
|
||||
asset_company_debt_balance = #{record.assetCompanyDebtBalance,jdbcType=VARCHAR},
|
||||
asset_company_debt_date = #{record.assetCompanyDebtDate,jdbcType=VARCHAR},
|
||||
summary_of_outstand_interest_number = #{record.summaryOfOutstandInterestNumber,jdbcType=VARCHAR},
|
||||
summary_of_outstand_interest_balance = #{record.summaryOfOutstandInterestBalance,jdbcType=VARCHAR},
|
||||
make_advance_number = #{record.makeAdvanceNumber,jdbcType=VARCHAR},
|
||||
make_advance_balance = #{record.makeAdvanceBalance,jdbcType=VARCHAR},
|
||||
debt_compens_three_parties_number = #{record.debtCompensThreePartiesNumber,jdbcType=VARCHAR},
|
||||
debt_compens_three_parties_balance = #{record.debtCompensThreePartiesBalance,jdbcType=VARCHAR},
|
||||
debt_compens_three_parties_date = #{record.debtCompensThreePartiesDate,jdbcType=VARCHAR},
|
||||
summary_normal_categories_total_number = #{record.summaryNormalCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
summary_normal_categories_total_balance = #{record.summaryNormalCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
summary_attention_categories_total_number = #{record.summaryAttentionCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
summary_attention_categories_total_balance = #{record.summaryAttentionCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
summary_default_categories_total_number = #{record.summaryDefaultCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
summary_default_categories_total_balance = #{record.summaryDefaultCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
summary_current_liability_information = #{record.summaryCurrentLiabilityInformation,jdbcType=VARCHAR},
|
||||
summart_information_full_repaid_debt = #{record.summartInformationFullRepaidDebt,jdbcType=VARCHAR},
|
||||
summary_external_guarantee_information = #{record.summaryExternalGuaranteeInformation,jdbcType=VARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.digital_credit.entity.StuCreditRecords">
|
||||
update stu_credit_records
|
||||
<set>
|
||||
<if test="userId != null">
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="subState != null">
|
||||
sub_state = #{subState,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="assetCompanyDebtNumber != null">
|
||||
asset_company_debt_number = #{assetCompanyDebtNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="assetCompanyDebtBalance != null">
|
||||
asset_company_debt_balance = #{assetCompanyDebtBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="assetCompanyDebtDate != null">
|
||||
asset_company_debt_date = #{assetCompanyDebtDate,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryOfOutstandInterestNumber != null">
|
||||
summary_of_outstand_interest_number = #{summaryOfOutstandInterestNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryOfOutstandInterestBalance != null">
|
||||
summary_of_outstand_interest_balance = #{summaryOfOutstandInterestBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="makeAdvanceNumber != null">
|
||||
make_advance_number = #{makeAdvanceNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="makeAdvanceBalance != null">
|
||||
make_advance_balance = #{makeAdvanceBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="debtCompensThreePartiesNumber != null">
|
||||
debt_compens_three_parties_number = #{debtCompensThreePartiesNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="debtCompensThreePartiesBalance != null">
|
||||
debt_compens_three_parties_balance = #{debtCompensThreePartiesBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="debtCompensThreePartiesDate != null">
|
||||
debt_compens_three_parties_date = #{debtCompensThreePartiesDate,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryNormalCategoriesTotalNumber != null">
|
||||
summary_normal_categories_total_number = #{summaryNormalCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryNormalCategoriesTotalBalance != null">
|
||||
summary_normal_categories_total_balance = #{summaryNormalCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryAttentionCategoriesTotalNumber != null">
|
||||
summary_attention_categories_total_number = #{summaryAttentionCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryAttentionCategoriesTotalBalance != null">
|
||||
summary_attention_categories_total_balance = #{summaryAttentionCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryDefaultCategoriesTotalNumber != null">
|
||||
summary_default_categories_total_number = #{summaryDefaultCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryDefaultCategoriesTotalBalance != null">
|
||||
summary_default_categories_total_balance = #{summaryDefaultCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryCurrentLiabilityInformation != null">
|
||||
summary_current_liability_information = #{summaryCurrentLiabilityInformation,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summartInformationFullRepaidDebt != null">
|
||||
summart_information_full_repaid_debt = #{summartInformationFullRepaidDebt,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="summaryExternalGuaranteeInformation != null">
|
||||
summary_external_guarantee_information = #{summaryExternalGuaranteeInformation,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.digital_credit.entity.StuCreditRecords">
|
||||
update stu_credit_records
|
||||
set user_id = #{userId,jdbcType=VARCHAR},
|
||||
sub_state = #{subState,jdbcType=INTEGER},
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
asset_company_debt_number = #{assetCompanyDebtNumber,jdbcType=VARCHAR},
|
||||
asset_company_debt_balance = #{assetCompanyDebtBalance,jdbcType=VARCHAR},
|
||||
asset_company_debt_date = #{assetCompanyDebtDate,jdbcType=VARCHAR},
|
||||
summary_of_outstand_interest_number = #{summaryOfOutstandInterestNumber,jdbcType=VARCHAR},
|
||||
summary_of_outstand_interest_balance = #{summaryOfOutstandInterestBalance,jdbcType=VARCHAR},
|
||||
make_advance_number = #{makeAdvanceNumber,jdbcType=VARCHAR},
|
||||
make_advance_balance = #{makeAdvanceBalance,jdbcType=VARCHAR},
|
||||
debt_compens_three_parties_number = #{debtCompensThreePartiesNumber,jdbcType=VARCHAR},
|
||||
debt_compens_three_parties_balance = #{debtCompensThreePartiesBalance,jdbcType=VARCHAR},
|
||||
debt_compens_three_parties_date = #{debtCompensThreePartiesDate,jdbcType=VARCHAR},
|
||||
summary_normal_categories_total_number = #{summaryNormalCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
summary_normal_categories_total_balance = #{summaryNormalCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
summary_attention_categories_total_number = #{summaryAttentionCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
summary_attention_categories_total_balance = #{summaryAttentionCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
summary_default_categories_total_number = #{summaryDefaultCategoriesTotalNumber,jdbcType=VARCHAR},
|
||||
summary_default_categories_total_balance = #{summaryDefaultCategoriesTotalBalance,jdbcType=VARCHAR},
|
||||
summary_current_liability_information = #{summaryCurrentLiabilityInformation,jdbcType=VARCHAR},
|
||||
summart_information_full_repaid_debt = #{summartInformationFullRepaidDebt,jdbcType=VARCHAR},
|
||||
summary_external_guarantee_information = #{summaryExternalGuaranteeInformation,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
</mapper>
|
Loading…
Reference in New Issue