|
@@ -92,6 +92,10 @@ public class WorkbenchVO implements Serializable { |
|
|
private BigDecimal approvalAmountGrowthRate; |
|
|
private BigDecimal approvalAmountGrowthRate; |
|
|
|
|
|
|
|
|
public BigDecimal getDeclaredAmountGrowthRate(){ |
|
|
public BigDecimal getDeclaredAmountGrowthRate(){ |
|
|
|
|
|
if(Objects.isNull(declaredAmount)){ |
|
|
|
|
|
this.declaredAmount = BigDecimal.ZERO; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// if((Objects.nonNull(declaredAmount)&&declaredAmount.compareTo(BigDecimal.ZERO) > 0) && (Objects.isNull(declaredAmountLastYear) || |
|
|
// if((Objects.nonNull(declaredAmount)&&declaredAmount.compareTo(BigDecimal.ZERO) > 0) && (Objects.isNull(declaredAmountLastYear) || |
|
|
// declaredAmountLastYear.compareTo(BigDecimal.ZERO) == 0)){ |
|
|
// declaredAmountLastYear.compareTo(BigDecimal.ZERO) == 0)){ |
|
|
// return BigDecimal.valueOf(100); |
|
|
// return BigDecimal.valueOf(100); |
|
@@ -106,6 +110,9 @@ public class WorkbenchVO implements Serializable { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public BigDecimal getApprovalAmountGrowthRate(){ |
|
|
public BigDecimal getApprovalAmountGrowthRate(){ |
|
|
|
|
|
if(Objects.isNull(approvalAmount)){ |
|
|
|
|
|
this.approvalAmount = BigDecimal.ZERO; |
|
|
|
|
|
} |
|
|
// if((Objects.nonNull(approvalAmount)&&approvalAmount.compareTo(BigDecimal.ZERO) > 0) && (Objects.isNull(approvalAmountLastYear) || |
|
|
// if((Objects.nonNull(approvalAmount)&&approvalAmount.compareTo(BigDecimal.ZERO) > 0) && (Objects.isNull(approvalAmountLastYear) || |
|
|
// approvalAmountLastYear.compareTo(BigDecimal.ZERO) == 0)){ |
|
|
// approvalAmountLastYear.compareTo(BigDecimal.ZERO) == 0)){ |
|
|
// return BigDecimal.valueOf(100); |
|
|
// return BigDecimal.valueOf(100); |
|
|