Browse Source

日期修正

master
PoffyZhang 1 year ago
parent
commit
c125af7a78
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/gov/convert/ProjectConvert.java

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/gov/convert/ProjectConvert.java View File

@@ -395,7 +395,8 @@ public class ProjectConvert {
req.setBaseResearchReportFile(StringUtils.isNotBlank(apply.getBaseResearchReportFilePdf()) ? apply.getBaseResearchReportFilePdf() :
apply.getBaseResearchReportFile());
req.setBaseProjConsClass(apply.getBaseProjConsClass());
req.setBaseProjDuration(apply.getBaseProjDuration() + BizProjectContant.ProjectCollection.MONTH);
req.setBaseProjDuration((StringUtils.isNotBlank(apply.getBaseProjDuration()) ? apply.getBaseProjDuration() : "0")
+ BizProjectContant.ProjectCollection.MONTH);
req.setBaseProjIntro(apply.getBaseProjIntro());
req.setBaseProjStartTime(ProjectCollectionUtil.convertLocalDateTime(apply.getBaseProjStartTime()));
req.setBaseProjEndTime(ProjectCollectionUtil.convertLocalDateTime(apply.getBaseProjEndTime()));


Loading…
Cancel
Save