| | |
| | | } |
| | | |
| | | // 入库订单完成上报-领料单,原材料 |
| | | @Scheduled(cron = "0/30 * * * * ? ") |
| | | //@Scheduled(cron = "0/30 * * * * ? ") |
| | | @Async("orderThreadPool") |
| | | void inOrderCompleteReport() { |
| | | String erpReport = Parameter.get().getErpReport(); |
| | |
| | | } |
| | | } |
| | | |
| | | // 出库单上报 |
| | | @Scheduled(cron = "0/30 * * * * ? ") |
| | | @Async("orderThreadPool") |
| | | // 装配单自动出库 |
| | | @Scheduled(cron = "0/3 * * * * ? ") |
| | | // @Async("orderThreadPool") |
| | | void AutoOutOrderPinOut() throws InterruptedException { |
| | | String erpReport = Parameter.get().getErpReport(); |
| | | if (!Cools.isEmpty(erpReport) && erpReport.equals("true")) { |
| | |
| | | if (boo){ |
| | | continue; |
| | | } |
| | | R pakout = outController.pakout(locDtos); |
| | | R pakout = orderPakoutService.pakout(locDtos); |
| | | break; |
| | | } |
| | | |