From 53da98b415ee2021346c83a86be3617b1ef2c984 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期四, 26 六月 2025 15:50:03 +0800 Subject: [PATCH] 清除托盘码站点 --- zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/services/Impl/WcsApiServiceImpl.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/services/Impl/WcsApiServiceImpl.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/services/Impl/WcsApiServiceImpl.java index 5325151..7e70281 100644 --- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/services/Impl/WcsApiServiceImpl.java +++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/services/Impl/WcsApiServiceImpl.java @@ -84,7 +84,7 @@ if (task == null) { return R.error("浠诲姟涓嶅瓨鍦紒锛�"); } - log.info("瀹瑰櫒鍒拌揪鎺ユ敹锛屼换鍔″彿锛歿}锛屽綋鍓嶇姸鎬侊細{}锛屼笂鎶ョ姸鎬侊細{}",task.getTaskNo(),task.getTaskSts$(),TaskStsType.WCS_CONTAINER_RECEIVE.desc); + log.info("瀹瑰櫒鍒拌揪鎺ユ敹锛屼换鍔″彿锛歿}锛屽綋鍓嶇姸鎬侊細{}锛屼笂鎶ョ姸鎬侊細{}, 鎺ユ敹鍙傛暟锛歿}",task.getTaskNo(),task.getTaskSts$(),TaskStsType.WCS_CONTAINER_RECEIVE.desc, JSONObject.toJSONString(arrivedParam)); taskType = task.getTaskType() > 100 ? "outStock":"inStock"; @@ -107,7 +107,9 @@ if (task.getTaskSts() == TaskStsType.WCS_EXECUTE_OUT_ARRIVED.id || task.getTaskSts() == TaskStsType.WCS_EXECUTE_OUT_TASK_DONE.id ) { // 鍒拌揪鎷i�変綅锛屾帶鍒舵挱绉嶅浜伅 - List<CacheSite> cacheSites = cacheSiteService.list(new LambdaQueryWrapper<CacheSite>().eq(CacheSite::getBarcode, task.getBarcode())); + List<CacheSite> cacheSites = cacheSiteService.list(new LambdaQueryWrapper<CacheSite>() + .eq(CacheSite::getSiteNo, arrivedParam.getSlotCode()) + .eq(CacheSite::getBarcode, task.getBarcode())); if(cacheSites.size() == 0) { log.error("鏉$爜锛歿}锛屾湭鎵惧埌鎾澧欎寒鐏�",task.getBarcode()); throw new CoolException("鏈壘鍒版挱绉嶅"); -- Gitblit v1.9.1