skyouc
2025-06-26 53da98b415ee2021346c83a86be3617b1ef2c984
zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/services/Impl/WcsApiServiceImpl.java
@@ -107,7 +107,9 @@
            if (task.getTaskSts() == TaskStsType.WCS_EXECUTE_OUT_ARRIVED.id
            || task.getTaskSts() == TaskStsType.WCS_EXECUTE_OUT_TASK_DONE.id ) {
                // 到达拣选位,控制播种墙亮灯
                    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("未找到播种墙");