| | |
| | | String shallowLocNo = Utils.getShallowLoc(slaveProperties, taskWrk.getStartPoint()); |
| | | TaskWrk hallowLocNoTask = taskWrkMapper.selectByStartPoint(shallowLocNo); |
| | | if (!Cools.isEmpty(hallowLocNoTask)){ |
| | | if (!Cools.isEmpty(hallowLocNoTask.getTargetPoint())){ |
| | | continue; |
| | | } |
| | | // new PostMesDataUtils().postMesData("移库任务分配库位",wmsUrl,movePath,hallowLocNoTask); |
| | | try { |
| | | String response = new HttpHandler.Builder() |
| | |
| | | }catch (Exception e){ |
| | | log.error("请求接口失败!!!url:{};request:{};response:{}", wmsUrl+"/"+movePath, JSON.toJSONString(hallowLocNoTask), "请求移库任务分配库位"); |
| | | } |
| | | break; |
| | | continue; |
| | | } |
| | | } |
| | | |
| | |
| | | // 获取工作状态为11(生成出库ID)的移库工作档 |
| | | List<TaskWrk> taskWrks = taskWrkMapper.selectPakOut3(slave.getId(), crnStn.getStaNo().toString()); |
| | | for (TaskWrk taskWrk : taskWrks){ |
| | | if (taskWrk == null) { |
| | | if (taskWrk == null || Cools.isEmpty(taskWrk.getTargetPoint()) || taskWrk.getTargetPoint().equals("")) { |
| | | continue; |
| | | } |
| | | // 工作档状态判断 |