Pārlūkot izejas kodu

续建项目资金 debug

tags/24080901
PoffyZhang pirms 1 gada
vecāks
revīzija
11abf5e9dc
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. +10
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/vo/ProjectRenewalFundDeclarationVO.java

+ 10
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/vo/ProjectRenewalFundDeclarationVO.java Parādīt failu

@@ -1,13 +1,16 @@
package com.ningdatech.pmapi.projectlib.model.vo;

import com.ningdatech.pmapi.projectlib.enumeration.ProjectTypeNewEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Objects;

/**
* <p>
@@ -93,4 +96,11 @@ public class ProjectRenewalFundDeclarationVO implements Serializable {

@ApiModelProperty("年度投资金额详情")
private List<AnnualAmountVO> annualAccumulateAmountList;

public String getProjectTypeName(){
if(Objects.nonNull(this.projectType)){
return ProjectTypeNewEnum.getDesc(this.projectType);
}
return StringUtils.EMPTY;
}
}

Notiek ielāde…
Atcelt
Saglabāt