Browse Source

续建项目资金 debug

master
PoffyZhang 1 year ago
parent
commit
11abf5e9dc
1 changed files with 10 additions and 0 deletions
  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 View File

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

Loading…
Cancel
Save