src/main/java/com/zy/asrs/task/BareBoardScheduler.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/zy/asrs/task/OneLouHangJiaScheduler.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/zy/asrs/task/ReportToDismantleTheStackScheduler.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/asrs/task/BareBoardScheduler.java
@@ -2,17 +2,20 @@ import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.core.common.Cools; import com.zy.asrs.entity.*; import com.zy.asrs.service.*; import com.zy.asrs.entity.BasDevp; import com.zy.asrs.entity.BasRgv; import com.zy.asrs.entity.RgvOneSign; import com.zy.asrs.entity.WrkMastSta; import com.zy.asrs.service.BasDevpService; import com.zy.asrs.service.BasRgvService; import com.zy.asrs.service.RgvOneSignService; import com.zy.asrs.service.WrkMastStaService; import com.zy.asrs.task.handler.BareBoardHandler; import com.zy.asrs.task.handler.WorkMastHandler; import com.zy.system.entity.Config; import com.zy.system.service.ConfigService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import java.util.Date; import java.util.List; /** @@ -35,7 +38,7 @@ @Autowired private WrkMastStaService wrkMastStaService; @Scheduled(cron = "0/3 * * * * ? ") // @Scheduled(cron = "0/3 * * * * ? ") private void execute(){//自动调空板出库 2楼码垛位置 Config config = configService.selectOne(new EntityWrapper<Config>().eq("code","bareBoard")); if (!Cools.isEmpty(config) && !Cools.isEmpty(config.getValue()) && config.getValue().equals("Y")){ @@ -46,7 +49,7 @@ } } @Scheduled(cron = "0/3 * * * * ? ") // @Scheduled(cron = "0/3 * * * * ? ") private void executeOne(){//自动调空板出库 1楼码垛位置 Config config = configService.selectOne(new EntityWrapper<Config>().eq("code","bareBoard")); if (!Cools.isEmpty(config) && !Cools.isEmpty(config.getValue()) && config.getValue().equals("Y")){ src/main/java/com/zy/asrs/task/OneLouHangJiaScheduler.java
@@ -6,10 +6,8 @@ import com.zy.asrs.service.WrkMastStaService; import com.zy.asrs.task.core.ReturnT; import com.zy.asrs.task.handler.OneLouHangJiaHandler; import com.zy.asrs.task.handler.RailwayPlatformHandler; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; /** @@ -25,7 +23,7 @@ @Autowired private WrkMastStaService wrkMastStaService; @Scheduled(cron = "0/3 * * * * ? ") // @Scheduled(cron = "0/3 * * * * ? ") private void execute(){//退库拆码垛 // int[] staNos =new int[]{118,119}; int[] staNos =new int[]{118}; src/main/java/com/zy/asrs/task/ReportToDismantleTheStackScheduler.java
@@ -4,7 +4,6 @@ import com.zy.asrs.task.handler.ReportToDismantleTheStackHandler; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; /** @@ -18,7 +17,7 @@ @Autowired private ReportToDismantleTheStackHandler reportToDismantleTheStackHandler; @Scheduled(cron = "0/3 * * * * ? ") // @Scheduled(cron = "0/3 * * * * ? ") private void execute(){//拆垛信息上传 int[] staNos =new int[]{118,119,120,121}; for (int staNo : staNos){