Browse Source

10/27

master
wangpengfei 2 years ago
parent
commit
67f7ee950b
  1. 12
      yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/biz/projectdaily/ProjectDaily.java

12
yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/biz/projectdaily/ProjectDaily.java

@ -52,7 +52,11 @@ public class ProjectDaily extends EntityWithId {
private String state="2";//质押状态
@TableField(exist = false)
private double creditLimit;//授信额度
@TableField(exist = false)
private double creditLimitW;//授信额度
private double useLimit;//用信额度
@TableField(exist = false)
private double useLimitW;//用信额度
/**
* 计算出的质押率
@ -110,13 +114,13 @@ public class ProjectDaily extends EntityWithId {
return NumberUtil.roundStr(this.advancePayment / 10000, 2);
}
public double getCreditLimit() {
public double getCreditLimitW() {
double d=Double.valueOf(String.format("%.2f",creditLimit/10000));
return this.creditLimit=d;
return this.creditLimitW=d;
}
public double getUseLimit() {
public double getUseLimitW() {
double d=Double.valueOf(String.format("%.2f",useLimit/10000));
return this.useLimit=d;
return this.useLimitW=d;
}
}

Loading…
Cancel
Save