更换属性

master
chen 4 years ago
parent 9e5f90d7de
commit 3b72208643
  1. 6
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/GuaranteeLetterListResponse.java
  2. 6
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/LoanNoticeListResponse.java
  3. 6
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/PaymentConfirmationListResponse.java
  4. 10
      dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeLetterAssignUserMapper.xml
  5. 7
      dq-financial-guarantee/src/main/resources/mapper/guarantee/DgLoanNoticeMapper.xml
  6. 10
      dq-financial-guarantee/src/main/resources/mapper/guarantee/DgPaymentConfirmationConsiderMapper.xml

@ -30,7 +30,7 @@ public class GuaranteeLetterListResponse {
@ApiModelProperty("贷审会同意时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
private Date updateTime;
private Date passingTime;
@ApiModelProperty("附件(会议记录)")
private String file;
@ -53,11 +53,11 @@ public class GuaranteeLetterListResponse {
@ApiModelProperty("金额")
@ExcelProperty(value = "金额",index = 4)
private Double applyAmount;
private Double loanMoney;
@ApiModelProperty("期限")
@ExcelProperty(value = "期数",index = 5)
private String applyTime;
private String loanTern;
@ApiModelProperty("申请日期")
@ExcelProperty(value = "申请日期",index = 6)

@ -46,11 +46,11 @@ public class LoanNoticeListResponse {
@ApiModelProperty("金额")
@ExcelProperty(value = "金额",index = 4)
private Double applyAmount;
private Double loanMoney;
@ApiModelProperty("期")
@ApiModelProperty("期")
@ExcelProperty(value = "期数",index = 5)
private String applyTime;
private String loanTern;
@ApiModelProperty("申请日期")
@ExcelProperty(value = "申请日期",index = 6)

@ -30,7 +30,7 @@ public class PaymentConfirmationListResponse {
@ApiModelProperty("贷审会同意时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
private Date updateTime;
private Date passingTime;
@ApiModelProperty("附件(会议记录)")
private String file;
@ -53,11 +53,11 @@ public class PaymentConfirmationListResponse {
@ApiModelProperty("金额")
@ExcelProperty(value = "金额",index = 4)
private Double applyAmount;
private Double loanMoney;
@ApiModelProperty("期限")
@ExcelProperty(value = "期数",index = 5)
private String applyTime;
private String loanTern;
@ApiModelProperty("申请日期")
@ExcelProperty(value = "申请日期",index = 6)

@ -17,14 +17,14 @@
<id column="id" property="id" />
<result column="business_code" property="businessCode" />
<result column="bank" property="bank" />
<result column="update_time" property="updateTime" />
<result column="passing_time" property="passingTime" />
<result column="file" property="file" />
<result column="name" property="name" />
<result column="phone" property="phone" />
<result column="status" property="status" />
<result column="create_time" property="createTime" />
<result column="apply_time" property="applyTime" />
<result column="apply_amount" property="applyAmount" />
<result column="loan_tern" property="loanTern" />
<result column="loan_money" property="loanMoney" />
<result column="business_type" property="businessType" />
<result column="audit_opinion" property="auditOpinion" />
<result column="operating_status" property="operatingStatus" />
@ -32,8 +32,8 @@
</resultMap>
<select id="pageByCondition" resultMap="GuaranteeLetterListResponseMap">
select lau.id,aai.business_code,cc.name,cc.phone,aai.business_type,lcc.loan_money as apply_amount,lcc.loan_tern as apply_time,
aai.create_time,lau.status,aai.bank,lcc.update_time,lcc.file,lau.audit_opinion,lau.operating_status,bps.business_status
select lau.id,aai.business_code,cc.name,cc.phone,aai.business_type,lcc.loan_money,lcc.loan_tern,aai.create_time,
lau.status,aai.bank,lcc.passing_time,lcc.file,lau.audit_opinion,lau.operating_status,bps.business_status
from dg_guarantee_letter_assign_user lau
left join dg_apply_amount_info aai on lau.business_id = aai.id
left join crms_company_customer ccc on lau.company_id = ccc.id

@ -21,8 +21,8 @@
<result column="phone" property="phone" />
<result column="status" property="status" />
<result column="create_time" property="createTime" />
<result column="apply_time" property="applyTime" />
<result column="apply_amount" property="applyAmount" />
<result column="loan_tern" property="loanTern" />
<result column="loan_money" property="loanMoney" />
<result column="business_type" property="businessType" />
<result column="audit_opinion" property="auditOpinion" />
<result column="operating_status" property="operatingStatus" />
@ -30,12 +30,13 @@
</resultMap>
<select id="pageByCondition" resultMap="LoanNoticeListResponseMap">
select ln.id,aai.business_code,cc.name,cc.phone,aai.business_type,aai.apply_amount,aai.apply_time,
select ln.id,aai.business_code,cc.name,cc.phone,aai.business_type,lcc.loan_tern,lcc.loan_money,
aai.create_time,ln.status,aai.bank,ln.audit_opinion,ln.operating_status,bps.business_status
from dg_loan_notice ln
left join dg_apply_amount_info aai on ln.business_id = aai.id
left join crms_company_customer ccc on ln.company_id = ccc.id
left join crms_customer cc on ccc.customer_id = cc.id
left join dg_loan_committee_consider lcc on ln.business_id = lcc.business_id
left join dg_business_process_status bps on ln.business_id = bps.business_id
<where>
AND ln.role_id = #{roleId}

@ -18,14 +18,14 @@
<id column="id" property="id" />
<result column="business_code" property="businessCode" />
<result column="bank" property="bank" />
<result column="update_time" property="updateTime" />
<result column="passing_time" property="passingTime" />
<result column="file" property="file" />
<result column="name" property="name" />
<result column="phone" property="phone" />
<result column="status" property="status" />
<result column="create_time" property="createTime" />
<result column="apply_time" property="applyTime" />
<result column="apply_amount" property="applyAmount" />
<result column="loan_tern" property="loanTern" />
<result column="loan_money" property="loanMoney" />
<result column="business_type" property="businessType" />
<result column="audit_opinion" property="auditOpinion" />
<result column="operating_status" property="operatingStatus" />
@ -33,8 +33,8 @@
</resultMap>
<select id="pageByCondition" resultMap="PaymentConfirmationListResponseMap">
select pcc.id,aai.business_code,cc.name,cc.phone,aai.business_type,lcc.loan_money as apply_amount,lcc.loan_tern as apply_time,
aai.create_time,pcc.status,aai.bank,lcc.update_time,lcc.file,pcc.audit_opinion,pcc.operating_status,bps.business_status
select pcc.id,aai.business_code,cc.name,cc.phone,aai.business_type,lcc.loan_money,lcc.loan_tern,aai.create_time,
pcc.status,aai.bank,lcc.passing_time,lcc.file,pcc.audit_opinion,pcc.operating_status,bps.business_status
from dg_payment_confirmation_consider pcc
left join dg_apply_amount_info aai on pcc.business_id = aai.id
left join crms_company_customer ccc on pcc.company_id = ccc.id

Loading…
Cancel
Save