From b7f3842a5276bdea441f9cea74dfa6f8facc5127 Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Wed, 12 Apr 2023 16:14:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E6=8A=A5=E7=9C=81=E5=B1=80=20?= =?UTF-8?q?=E6=9C=89=E6=95=88=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pmapi/projectdeclared/converter/ApplicationConverter.java | 1 + .../pmapi/scheduler/task/CheckProvincialReviewResultTask.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/converter/ApplicationConverter.java b/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/converter/ApplicationConverter.java index f2f819c..42ffa7d 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/converter/ApplicationConverter.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/converter/ApplicationConverter.java @@ -57,6 +57,7 @@ public class ApplicationConverter { .otherFile(projectInfo.getPreliminaryPlanFile()) .projectRemark(projectInfo.getProjectRemarks()) .includeApplication(projectInfo.getIncludeApplication()) + .isEffective(1) .projectApplyFile(projectInfo.getProjectApplicationForm()) .researchReport(projectInfo.getPreliminaryPlanFile()) .applicationInfo(convertApplications(applications)) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CheckProvincialReviewResultTask.java b/pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CheckProvincialReviewResultTask.java index 9097818..590df4d 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CheckProvincialReviewResultTask.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CheckProvincialReviewResultTask.java @@ -39,7 +39,7 @@ public class CheckProvincialReviewResultTask { private final IProjectService projectService; private final StateMachineUtils stateMachineUtils; - @Scheduled(cron = "0 */5 * * * ?") + @Scheduled(cron = "0 */2 * * * ?") public void statusFlow() throws UnknownHostException { //测试暂时用自己电脑HOST if (TaskContant.Host.HOST_207.equals(InetAddress.getLocalHost().getHostName())) {