Explorar el Código

debug工作台

tags/24080901
PoffyZhang hace 1 año
padre
commit
0be0628fff
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  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 Ver fichero

@@ -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);


Cargando…
Cancelar
Guardar