| | |
| | | @Autowired |
| | | private AutomaticallyIssueWCSTasksHandler automaticallyIssueWCSTasksHandler; |
| | | |
| | | @Scheduled(cron = "0/3 * * * * ? ") |
| | | // @Scheduled(cron = "0/3 * * * * ? ") |
| | | private void execute(){ |
| | | List<WrkMast> wrkMasts = wrkMastService.selectToBeCompleteData(); |
| | | List<WrkMast> wrkMasts = wrkMastService.selectList( |
| | | new com.baomidou.mybatisplus.mapper.EntityWrapper<WrkMast>() |
| | | .eq("wrk_sts", 11) |
| | | .last(" and (pause_mk is null or pause_mk <> 'Y') and (io_type not in (101,103,104,107,110) or Pdc_type = 'Y')") |
| | | ); |
| | | if (wrkMasts.isEmpty()) { |
| | | return; |
| | | } |