瀏覽代碼

debug工作台

tags/24080901
PoffyZhang 1 年之前
父節點
當前提交
0be0628fff
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. +7
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/workbench/model/vo/WorkbenchVO.java

+ 7
- 0
pmapi/src/main/java/com/ningdatech/pmapi/workbench/model/vo/WorkbenchVO.java 查看文件

@@ -92,6 +92,10 @@ public class WorkbenchVO implements Serializable {
private BigDecimal approvalAmountGrowthRate;

public BigDecimal getDeclaredAmountGrowthRate(){
if(Objects.isNull(declaredAmount)){
this.declaredAmount = BigDecimal.ZERO;
}

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

public BigDecimal getApprovalAmountGrowthRate(){
if(Objects.isNull(approvalAmount)){
this.approvalAmount = BigDecimal.ZERO;
}
// if((Objects.nonNull(approvalAmount)&&approvalAmount.compareTo(BigDecimal.ZERO) > 0) && (Objects.isNull(approvalAmountLastYear) ||
// approvalAmountLastYear.compareTo(BigDecimal.ZERO) == 0)){
// return BigDecimal.valueOf(100);


Loading…
取消
儲存