|
|
|
|
@ -370,7 +370,7 @@ public class PlcEventTask { |
|
|
|
|
Integer outSeria = (Integer) pointMap.get(rptOutSeria); |
|
|
|
|
//读取托盘条码内容
|
|
|
|
|
String barcodeValueOne = pointMap.get(rptOutBarcod).toString(); |
|
|
|
|
log.info("请求入库时,读取的条码内容:" + barcodeValueOne); |
|
|
|
|
log.info("实盘出口上报时,读取的条码内容:" + barcodeValueOne); |
|
|
|
|
//调用wz-wcs接口
|
|
|
|
|
WcsIncomingTaskRequestBody body = new WcsIncomingTaskRequestBody(); |
|
|
|
|
body.setStation("出口上报处"); |
|
|
|
|
@ -408,11 +408,11 @@ public class PlcEventTask { |
|
|
|
|
//出入库切换
|
|
|
|
|
if (pointMap.containsKey(inOutSwit) && Boolean.valueOf(pointMap.get(inOutSwit).toString())) { |
|
|
|
|
WCSQueryTaskStatusBody body = new WCSQueryTaskStatusBody(); |
|
|
|
|
body.setDestination("叠盘机"); |
|
|
|
|
body.setDestination("出入库切换点位"); |
|
|
|
|
body.setTaskType("1"); |
|
|
|
|
body.setTrayType("2"); |
|
|
|
|
WcsResponseVo<TaskStatusBody> vo = wcsUtil.queryTaskStatus(body); |
|
|
|
|
log.info("扫码处入库申请wz-wcs返回:" + vo.getHeader()); |
|
|
|
|
log.info("出入库切换时申请wz-wcs返回:" + vo.getHeader()); |
|
|
|
|
Map<String, Object> allMap = new HashMap<>(1); |
|
|
|
|
Map<String, Integer> reqMap = new HashMap<>(1); |
|
|
|
|
if (Result.isOk(vo.getHeader().getMsgCode())) { |
|
|
|
|
|