|
|
@@ -43,7 +43,7 @@ public class ProjectStatusFlowTask { |
|
|
|
@Scheduled(cron = "0 */1 * * * ?") |
|
|
|
public void statusFlow() throws UnknownHostException { |
|
|
|
//测试暂时用自己207 |
|
|
|
if (TaskContant.Host.HOST_ZPF.equals(InetAddress.getLocalHost().getHostName())) { |
|
|
|
if (TaskContant.Host.HOST_207.equals(InetAddress.getLocalHost().getHostName())) { |
|
|
|
//1. 定时取 项目暂存表的数据 去进行状态继续流转 |
|
|
|
List<ProjectStaging> stagingList = projectStagingService.list(Wrappers.lambdaQuery(ProjectStaging.class) |
|
|
|
.eq(ProjectStaging::getDead,Boolean.FALSE) |
|
|
|