修改代码字符编码
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>fangjia-loan-dal</name>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>GBK</project.build.sourceEncoding>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<build>
|
||||
<finalName>fangjia-loan-dal</finalName>
|
||||
@@ -19,7 +19,7 @@
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
<encoding>GBK</encoding>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
+37
-37
@@ -13,7 +13,7 @@ import org.apache.commons.lang.StringUtils;
|
||||
import com.fangjia.dal.MongoEntity;
|
||||
|
||||
/**
|
||||
* 贷款产品基础类(通用字段)
|
||||
* 贷款产品基础类(通用字段)
|
||||
*
|
||||
* @author yukai
|
||||
*
|
||||
@@ -22,78 +22,78 @@ public abstract class BaseLoan implements MongoEntity {
|
||||
private static final long serialVersionUID = 2101795858775773961L;
|
||||
private String id;
|
||||
private int status;
|
||||
private String productName; // 贷款产品名称
|
||||
private String agencyId; // 机构信息Id
|
||||
private int angecyType; // 机构类型
|
||||
private String productName; // 贷款产品名称
|
||||
private String agencyId; // 机构信息Id
|
||||
private int angecyType; // 机构类型
|
||||
|
||||
private double creditRangeLow; // 额度范围(万元)
|
||||
private double creditRangeLow; // 额度范围(万元)
|
||||
private double creditRangeHigh;
|
||||
private String creditDesc; // 额度说明
|
||||
private String creditDesc; // 额度说明
|
||||
|
||||
private int creditTimeLow; // 贷款期限(月)
|
||||
private int creditTimeLow; // 贷款期限(月)
|
||||
private int creditTimeHigh;
|
||||
private String creditTimeDesc; // 期限说明
|
||||
private String creditTimeDesc; // 期限说明
|
||||
|
||||
private String guarantyWay; // 担保方式
|
||||
private String guarantyWay; // 担保方式
|
||||
|
||||
private int loanTime; // 放款时间(天)
|
||||
private int loanTime; // 放款时间(天)
|
||||
private String loanTimeDesc;
|
||||
|
||||
private int applyTime; // 审批时间
|
||||
private int applyTime; // 审批时间
|
||||
private String applyTimeDesc;
|
||||
|
||||
private double monthCost; // 月管理费率
|
||||
private double monthCost; // 月管理费率
|
||||
private String monthCostDesc;
|
||||
|
||||
private double otherCost; // 其他费用费率
|
||||
private double otherCost; // 其他费用费率
|
||||
private String otherCostDesc;
|
||||
|
||||
private List<String> citys; // 产品适用城市
|
||||
private List<String> citys; // 产品适用城市
|
||||
private String city;
|
||||
|
||||
private String feature; // 产品特点
|
||||
private String feature; // 产品特点
|
||||
|
||||
private String appCondition; // 申请条件描述
|
||||
private String introduction; // 简介
|
||||
private String appCondition; // 申请条件描述
|
||||
private String introduction; // 简介
|
||||
|
||||
private String material; // 所需材料
|
||||
private String rateDesc; // 利率说明
|
||||
private String other; // 其他
|
||||
private String material; // 所需材料
|
||||
private String rateDesc; // 利率说明
|
||||
private String other; // 其他
|
||||
|
||||
private Date creationDate;
|
||||
private Date modificationDate;
|
||||
|
||||
private int badCreditStatus; // 有无不良信用记录 0-无 1-有 2-不限
|
||||
private int creditRecord; // 有无信用记录 0-无 1-有 2-不限
|
||||
private int badCreditStatus; // 有无不良信用记录 0-无 1-有 2-不限
|
||||
private int creditRecord; // 有无信用记录 0-无 1-有 2-不限
|
||||
private String creditRecordDesc;
|
||||
|
||||
private int nativeHouseStatus; // 是否需要本地房产 0-否 1-是
|
||||
private int nativeHouseStatus; // 是否需要本地房产 0-否 1-是
|
||||
private String nativeHouseDesc;
|
||||
|
||||
private String repaymentWay; // 还款方式(分期还款、随借随还、一次性还本付息, 分期还款,随借随还)
|
||||
private String repaymentWayDesc; // 还款方式说明
|
||||
private String repaymentWay; // 还款方式(分期还款、随借随还、一次性还本付息, 分期还款,随借随还)
|
||||
private String repaymentWayDesc; // 还款方式说明
|
||||
|
||||
private int professionLimitStatus; // 是否职业限制 0-否 1-是
|
||||
private String profession; // 职业(多种职业以逗号分隔)
|
||||
private String professionDesc; // 职业身份说明
|
||||
private int professionLimitStatus; // 是否职业限制 0-否 1-是
|
||||
private String profession; // 职业(多种职业以逗号分隔)
|
||||
private String professionDesc; // 职业身份说明
|
||||
|
||||
private int guarantyStatus; // 是否需要抵押物 0-否 1-是
|
||||
private String guaranty; // 抵押物
|
||||
private String guarantyDesc; // 抵押物说明
|
||||
private int guarantyStatus; // 是否需要抵押物 0-否 1-是
|
||||
private String guaranty; // 抵押物
|
||||
private String guarantyDesc; // 抵押物说明
|
||||
|
||||
private int incomeStatus; // 是否收入限制 0-否 1-是
|
||||
private int incomeStatus; // 是否收入限制 0-否 1-是
|
||||
private int income;
|
||||
private String incomeDesc;
|
||||
|
||||
private int workinkLifeStatus; // 是否工作年限限制 0-否 1-是
|
||||
private int workingLife; // 月
|
||||
private int workinkLifeStatus; // 是否工作年限限制 0-否 1-是
|
||||
private int workingLife; // 月
|
||||
private String workingLifeDesc;
|
||||
|
||||
private int companyLifeStatus; // 是否企业成立年限限制 0-否 1-是
|
||||
private int companyLife; // 月
|
||||
private int companyLifeStatus; // 是否企业成立年限限制 0-否 1-是
|
||||
private int companyLife; // 月
|
||||
private String companyLifeDesc;
|
||||
|
||||
private int sequence; // 序号,用于人工控制列表排序
|
||||
private int sequence; // 序号,用于人工控制列表排序
|
||||
|
||||
@Id
|
||||
@GeneratedValue
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* ¾ÓªÐÍ´û¿î²úÆ·±í
|
||||
* 经营型贷款产品表
|
||||
*
|
||||
* @author yukai
|
||||
*
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* Æû³µ´û¿î²úÆ·±í
|
||||
* 汽车贷款产品表
|
||||
*
|
||||
* @author yukai
|
||||
*
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* Ïû·ÑÐÍ´û¿î²úÆ·±í
|
||||
* 消费型贷款产品表
|
||||
*
|
||||
* @author yukai
|
||||
*
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import javax.persistence.Table;
|
||||
import com.fangjia.dal.MongoEntity;
|
||||
|
||||
/**
|
||||
* Óû§Òâ¼û·´À¡
|
||||
* 用户意见反馈
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "rongshidai.feedback")
|
||||
|
||||
+3
-3
@@ -5,7 +5,7 @@ import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* 房贷型贷款产品表
|
||||
* 房贷型贷款产品表
|
||||
*
|
||||
* @author yukai
|
||||
*
|
||||
@@ -15,8 +15,8 @@ import javax.persistence.Table;
|
||||
public class HouseLoan extends BaseLoan {
|
||||
private static final long serialVersionUID = 4464781647461568037L;
|
||||
|
||||
private int houseType; // 0:首套;1:二套;2:商业
|
||||
private int houseFundStatus; // 是否支持公积金贷款0:不限;1:提供;2:不提供
|
||||
private int houseType; // 0:首套;1:二套;2:商业
|
||||
private int houseFundStatus; // 是否支持公积金贷款0:不限;1:提供;2:不提供
|
||||
|
||||
@Column(name = "house_type")
|
||||
public int getHouseType() {
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import javax.persistence.Table;
|
||||
import com.fangjia.dal.MongoEntity;
|
||||
|
||||
/**
|
||||
* ·Å´û»ú¹¹ÐÅÏ¢±í
|
||||
* 放贷机构信息表
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "rongshidai.loan_agency")
|
||||
|
||||
+10
-10
@@ -11,7 +11,7 @@ import javax.persistence.Table;
|
||||
import com.fangjia.dal.MongoEntity;
|
||||
|
||||
/**
|
||||
* 评估信息-第一步
|
||||
* 评估信息-第一步
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "rongshidai.loan_assess_step1")
|
||||
@@ -23,15 +23,15 @@ public class LoanAssessStep1 implements MongoEntity {
|
||||
private Integer userType;
|
||||
private Double loanAmount;
|
||||
private Integer loanMonth;
|
||||
private Integer census; // 户籍
|
||||
private Integer marriage; // 婚姻
|
||||
private Integer credit; // 信用记录
|
||||
private Double salary; // 流水
|
||||
private Double otherSalary; // 其他收入
|
||||
private Integer companyType; // 单位类型
|
||||
private Integer job; // 职位
|
||||
private Double entryTime; // 入职时间
|
||||
private Integer taxTime; // 缴税时间
|
||||
private Integer census; // 户籍
|
||||
private Integer marriage; // 婚姻
|
||||
private Integer credit; // 信用记录
|
||||
private Double salary; // 流水
|
||||
private Double otherSalary; // 其他收入
|
||||
private Integer companyType; // 单位类型
|
||||
private Integer job; // 职位
|
||||
private Double entryTime; // 入职时间
|
||||
private Integer taxTime; // 缴税时间
|
||||
private Date creationDate;
|
||||
private Date modificationDate;
|
||||
|
||||
|
||||
+6
-6
@@ -11,7 +11,7 @@ import javax.persistence.Table;
|
||||
import com.fangjia.dal.MongoEntity;
|
||||
|
||||
/**
|
||||
* 评估信息-二步
|
||||
* 评估信息-二步
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "rongshidai.loan_assess_step2")
|
||||
@@ -20,11 +20,11 @@ public class LoanAssessStep2 implements MongoEntity {
|
||||
|
||||
private String id;
|
||||
private String step1Id;
|
||||
private Integer estate; // 房产
|
||||
private Double assets; // 总资产
|
||||
private Double liabilities; // 总负债
|
||||
private Double repayments; // 每月还款额
|
||||
private Integer mortgage; // 抵押物
|
||||
private Integer estate; // 房产
|
||||
private Double assets; // 总资产
|
||||
private Double liabilities; // 总负债
|
||||
private Double repayments; // 每月还款额
|
||||
private Integer mortgage; // 抵押物
|
||||
private Date creationDate;
|
||||
private Date modificationDate;
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import javax.persistence.Table;
|
||||
import com.fangjia.dal.MongoEntity;
|
||||
|
||||
/**
|
||||
* ´û¿î֪ʶ±í
|
||||
* 贷款知识表
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "rongshidai.loan_knowledge")
|
||||
|
||||
+4
-4
@@ -11,7 +11,7 @@ import javax.persistence.Table;
|
||||
import com.fangjia.dal.MongoEntity;
|
||||
|
||||
/**
|
||||
* 贷款产品详细利率
|
||||
* 贷款产品详细利率
|
||||
*
|
||||
* @author yukai
|
||||
*
|
||||
@@ -24,7 +24,7 @@ public class LoanRate implements MongoEntity {
|
||||
private String id;
|
||||
private String productId;
|
||||
private String productType;
|
||||
private int rateType; // 利率类型。0:实际利率;1:相对基准利率的倍率
|
||||
private int rateType; // 利率类型。0:实际利率;1:相对基准利率的倍率
|
||||
private double rate0to05;
|
||||
private double rate05to1;
|
||||
private double rate1to2;
|
||||
@@ -33,8 +33,8 @@ public class LoanRate implements MongoEntity {
|
||||
private double rate4to5;
|
||||
private double rate5to;
|
||||
|
||||
private boolean useMonthRate; // 是否以月息计算
|
||||
private double monthRate; // 月利率
|
||||
private boolean useMonthRate; // 是否以月息计算
|
||||
private double monthRate; // 月利率
|
||||
|
||||
private Date creationDate;
|
||||
private Date modificationDate;
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@ import com.fangjia.dal.MongoEntity;
|
||||
|
||||
/**
|
||||
*
|
||||
* 信贷员的前台用户表
|
||||
* 信贷员的前台用户表
|
||||
*
|
||||
*/
|
||||
@Entity
|
||||
@@ -28,7 +28,7 @@ public class LoanUser implements MongoEntity {
|
||||
private Date creationDate;
|
||||
private Date modificationDate;
|
||||
private Date lastLoginTime;
|
||||
private int status = 1;//未激活
|
||||
private int status = 1;//未激活
|
||||
|
||||
@Column(name = "password")
|
||||
public String getPassword() {
|
||||
|
||||
Reference in New Issue
Block a user