Bläddra i källkod

日期修正

tags/24080901
PoffyZhang 1 år sedan
förälder
incheckning
3a4889deeb
3 ändrade filer med 3 tillägg och 2 borttagningar
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/common/constant/CommonConst.java
  2. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/gov/contants/BizProjectContant.java
  3. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/gov/convert/ProjectConvert.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/common/constant/CommonConst.java Visa fil

@@ -64,6 +64,6 @@ public interface CommonConst {
Integer VERIFY_TYPE = 2;
String REPEAT = " 已在其他当前评价计划其他分组中,请勿重复添加!";

String NORMAL_TIME_PATTERN = "yyyy-MM-dd HH:mm:ss";
String NORMAL_TIME_PATTERN = "yyyy-MM-dd";

}

+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/gov/contants/BizProjectContant.java Visa fil

@@ -24,6 +24,7 @@ public interface BizProjectContant {
public static final String OP_UPDATE = "update";
public static final String OP_DELETE = "delete";
public static final String PDF_SUFFIX = ".pdf";
public static final String MONTH = "月";
}

}

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/gov/convert/ProjectConvert.java Visa fil

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


Laddar…
Avbryt
Spara