瀏覽代碼

续建项目资金 debug

tags/24080901
PoffyZhang 1 年之前
父節點
當前提交
11abf5e9dc
共有 1 個檔案被更改,包括 10 行新增0 行删除
  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 查看文件

@@ -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…
取消
儲存