| | |
| | | map.put("message", "失败,请求参数为空"); |
| | | map.put("result", ""); |
| | | map.put("requestPK", param.getRequestPK()); |
| | | log.info("返回mes信息:"+JSONObject.toJSONString(map)); |
| | | return map; |
| | | } |
| | | if (Cools.isEmpty(param.getRequestPK()) || Cools.isEmpty(param.getContNo()) || Cools.isEmpty(param.getTrkPrty()) || Cools.isEmpty(param.getToPos())){ |
| | |
| | | map.put("message", "失败,请求参数为空"); |
| | | map.put("result", ""); |
| | | map.put("requestPK", param.getRequestPK()); |
| | | log.info("返回mes信息:"+JSONObject.toJSONString(map)); |
| | | return map; |
| | | } |
| | | |
| | |
| | | map.put("message", "失败,存在相同编号的任务"); |
| | | map.put("result", ""); |
| | | map.put("requestPK", param.getRequestPK()); |
| | | log.info("返回mes信息:"+JSONObject.toJSONString(map)); |
| | | return map; |
| | | } |
| | | String sta = "06YZ"; |
| | |
| | | map.put("message", httpRequest); |
| | | map.put("result", ""); |
| | | map.put("requestPK", param.getRequestPK()); |
| | | log.info("返回mes信息:"+JSONObject.toJSONString(map)); |
| | | return map; |
| | | } |
| | | }catch (Exception e){ |
| | |
| | | map.put("message", "转发AGV任务出错"); |
| | | map.put("result", ""); |
| | | map.put("requestPK", param.getRequestPK()); |
| | | log.info("返回mes信息:"+JSONObject.toJSONString(map)); |
| | | return map; |
| | | } |
| | | } |
| | |
| | | map.put("message", "生成任务出错"); |
| | | map.put("result", ""); |
| | | map.put("requestPK", param.getRequestPK()); |
| | | log.info("返回mes信息:"+JSONObject.toJSONString(map)); |
| | | return map; |
| | | }finally { |
| | | int code = (int) inTask.get("code"); |
| | |
| | | map.put("message", "生成任务出错"); |
| | | map.put("result", ""); |
| | | map.put("requestPK", param.getRequestPK()); |
| | | log.info("返回mes信息:"+JSONObject.toJSONString(map)); |
| | | return map; |
| | | }finally { |
| | | int code = (int) outTask.get("code"); |
| | |
| | | map.put("message", httpRequest); |
| | | map.put("result", ""); |
| | | map.put("requestPK", param.getRequestPK()); |
| | | log.info("返回mes信息:"+JSONObject.toJSONString(map)); |
| | | return map; |
| | | } |
| | | }catch (Exception e){ |
| | |
| | | map.put("message", "转发AGV任务出错"); |
| | | map.put("result", ""); |
| | | map.put("requestPK", param.getRequestPK()); |
| | | log.info("返回mes信息:"+JSONObject.toJSONString(map)); |
| | | return map; |
| | | } |
| | | |
| | |
| | | map.put("result", ""); |
| | | map.put("requestPK", param.getRequestPK()); |
| | | } |
| | | log.info("返回mes信息:"+JSONObject.toJSONString(map)); |
| | | return map; |
| | | } |
| | | public static String getWMStoWCSLocNo(String loc){ |