| | |
| | | @Autowired |
| | | private StationDispatchLoadSupport stationDispatchLoadSupport; |
| | | |
| | | public void stationInExecute() { |
| | | try { |
| | | List<BasDevp> basDevps = basDevpService.list(new QueryWrapper<>()); |
| | | for (BasDevp basDevp : basDevps) { |
| | | List<StationObjModel> stationList = basDevp.getBarcodeStationList$(); |
| | | for (StationObjModel entity : stationList) { |
| | | stationInExecute(basDevp, entity); |
| | | } |
| | | } |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | |
| | | public void stationOutExecuteFinish(StationObjModel stationObjModel) { |
| | | try { |
| | | if (stationObjModel == null) { |
| | |
| | | } |
| | | |
| | | completeOutboundStationRun(stationObjModel, stationThread, wrkMast, matchedByRecentArrival); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | |
| | | public void checkTaskToComplete() { |
| | | try { |
| | | List<WrkMast> wrkMasts = wrkMastService.list(new QueryWrapper<WrkMast>().eq("wrk_sts", WrkStsType.STATION_RUN_COMPLETE.sts)); |
| | | for (WrkMast wrkMast : wrkMasts) { |
| | | checkTaskToComplete(wrkMast); |
| | | } |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |