소스 검색

续建项目资金 debug

tags/24080901
PoffyZhang 1 년 전
부모
커밋
a8077e7186
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectRenewalFundManage.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/po/ProjectRenewalFundDeclarationPO.java

+ 3
- 2
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectRenewalFundManage.java 파일 보기

@@ -26,6 +26,7 @@ import com.ningdatech.pmapi.projectdeclared.model.dto.ProjectRenewalDeclareExpor
import com.ningdatech.pmapi.projectlib.enumeration.ProjectRenewalApprovalStatusEnum;
import com.ningdatech.pmapi.projectlib.enumeration.ProjectStatusEnum;
import com.ningdatech.pmapi.projectlib.enumeration.ProjectTypeEnum;
import com.ningdatech.pmapi.projectlib.enumeration.ProjectTypeNewEnum;
import com.ningdatech.pmapi.projectlib.model.dto.ProjectRenewalExportDTO;
import com.ningdatech.pmapi.projectlib.model.dto.ProjectRenewalFundDeclarationDTO;
import com.ningdatech.pmapi.projectlib.model.entity.Project;
@@ -373,7 +374,7 @@ public class ProjectRenewalFundManage {
List<ProjectRenewalExportDTO> collect = records.stream().map(r -> {
ProjectRenewalExportDTO exportDTO = new ProjectRenewalExportDTO();
BeanUtils.copyProperties(r, exportDTO);
exportDTO.setProjectTypeName(ProjectTypeEnum.getDesc(r.getProjectType()));
exportDTO.setProjectTypeName(ProjectTypeNewEnum.getDesc(r.getProjectType()));
if (ProjectRenewalApprovalStatusEnum.PENDING.name().equals(r.getApprovalStatus())) {
exportDTO.setApprovalStatusName(ProjectRenewalApprovalStatusEnum.PENDING.getDesc());
} else if (ProjectRenewalApprovalStatusEnum.PASS.name().equals(r.getApprovalStatus())) {
@@ -415,7 +416,7 @@ public class ProjectRenewalFundManage {
List<ProjectRenewalDeclareExportDTO> collect = records.stream().map(r -> {
ProjectRenewalDeclareExportDTO exportDTO = new ProjectRenewalDeclareExportDTO();
BeanUtils.copyProperties(r, exportDTO);
exportDTO.setProjectTypeName(ProjectTypeEnum.getDesc(r.getProjectType()));
exportDTO.setProjectTypeName(ProjectTypeNewEnum.getDesc(r.getProjectType()));
if (ProjectRenewalApprovalStatusEnum.PENDING.name().equals(r.getApprovalStatus())) {
exportDTO.setApprovalStatusName(ProjectRenewalApprovalStatusEnum.PENDING.getDesc());
} else if (ProjectRenewalApprovalStatusEnum.PASS.name().equals(r.getApprovalStatus())) {


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/po/ProjectRenewalFundDeclarationPO.java 파일 보기

@@ -73,7 +73,7 @@ public class ProjectRenewalFundDeclarationPO implements Serializable {
private String regionCode;

@ApiModelProperty("项目类型")
private Integer projectType;
private String projectType;

@ApiModelProperty("建设单位名称")
private String buildOrgName;


불러오는 중...
취소
저장