|  |  | 
 |  |  |     private WrkMastLogService wrkMastLogService; | 
 |  |  |  | 
 |  |  |     @Scheduled(cron = "0/1 * * * * ? ") | 
 |  |  |     private void executeIn(){ | 
 |  |  |         List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>().eq("wrk_sts", WrkStsType.SETTLE_INBOUND.sts)); | 
 |  |  |         if (wrkMasts.isEmpty()) { | 
 |  |  |             return; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         for (WrkMast wrkMast : wrkMasts) { | 
 |  |  |             // 保存工作主档历史档 | 
 |  |  |             if (!wrkMastLogService.save(wrkMast.getWrkNo())) { | 
 |  |  |                 log.info("保存工作历史档[workNo={}]失败", wrkMast.getWrkNo()); | 
 |  |  |             } | 
 |  |  |             // 删除工作主档 | 
 |  |  |             if (!wrkMastService.deleteById(wrkMast)) { | 
 |  |  |                 log.info("删除工作主档[workNo={}]失败", wrkMast.getWrkNo()); | 
 |  |  |             } | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Scheduled(cron = "0/1 * * * * ? ") | 
 |  |  |     private void executeOut(){ | 
 |  |  |         List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>().eq("wrk_sts", WrkStsType.SETTLE_OUTBOUND.sts)); | 
 |  |  |         if (wrkMasts.isEmpty()) { | 
 |  |  |             return; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         for (WrkMast wrkMast : wrkMasts) { | 
 |  |  |             // 保存工作主档历史档 | 
 |  |  |             if (!wrkMastLogService.save(wrkMast.getWrkNo())) { | 
 |  |  |                 log.info("保存工作历史档[workNo={}]失败", wrkMast.getWrkNo()); | 
 |  |  |             } | 
 |  |  |             // 删除工作主档 | 
 |  |  |             if (!wrkMastService.deleteById(wrkMast)) { | 
 |  |  |                 log.info("删除工作主档[workNo={}]失败", wrkMast.getWrkNo()); | 
 |  |  |             } | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Scheduled(cron = "0/1 * * * * ? ") | 
 |  |  |     private void executeMove(){ | 
 |  |  |         List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>().eq("wrk_sts", WrkStsType.COMPLETE_MOVE.sts)); | 
 |  |  |         if (wrkMasts.isEmpty()) { |