| | |
| | | // 堆垛机对应一楼出库站点 |
| | | private static final int[] oneFloorOutSite = new int[]{0,3002,3003,3006,3008,3009,3012}; |
| | | |
| | | // 堆垛机对应一楼入库站点 |
| | | private static final int[] oneFloorInSite = new int[]{0,3001,3004,3005,3007,3010,3011}; |
| | | |
| | | public void startCkrwPushGwcs(WrkMast wrkMast) { |
| | | |
| | | // 获取请求头 |
| | |
| | | wrkMast.setModiTime(new Date()); |
| | | } else if(wrkMast.getIoType() == 12) { // 跨巷道转移 |
| | | wrkMast.setWrkSts(1L); // 状态改为1.生成入库id |
| | | wrkMast.setCrnNo(Arrays.binarySearch(oneFloorInSite,wrkMast.getStaNo()));// 堆垛机转换为入库的堆垛机 |
| | | wrkMast.setModiTime(new Date()); |
| | | } |
| | | wrkMastMapper.updateById(wrkMast); |