From df6b5b580886b33bf2586a72beb5008b3b2e7f9a Mon Sep 17 00:00:00 2001 From: cpT <1@123> Date: 星期三, 02 七月 2025 09:56:20 +0800 Subject: [PATCH] #改造 --- src/main/java/com/zy/asrs/controller/CrnController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/CrnController.java b/src/main/java/com/zy/asrs/controller/CrnController.java index 688fed8..573b31f 100644 --- a/src/main/java/com/zy/asrs/controller/CrnController.java +++ b/src/main/java/com/zy/asrs/controller/CrnController.java @@ -454,11 +454,11 @@ command.setDestinationPosX(param.getBay()); // 鐩爣搴撲綅鍒� command.setDestinationPosY(param.getLev()); // 鐩爣搴撲綅灞� command.setCommand((short)1); - LocMast sourceLoc = locMastService.selectOne(new EntityWrapper<LocMast>().eq("row1", command.getSourcePosX()) - .eq("bay1", command.getSourcePosY()).eq("lev1", command.getSourcePosZ())); - LocMast loc = locMastService.selectOne(new EntityWrapper<LocMast>().eq("row1", command.getDestinationPosX()) - .eq("bay1", command.getDestinationPosY()).eq("lev1", command.getDestinationPosZ())); - VersionUtils.locMoveCheckLocType(sourceLoc, loc); +// LocMast sourceLoc = locMastService.selectOne(new EntityWrapper<LocMast>().eq("row1", command.getSourcePosX()) +// .eq("bay1", command.getSourcePosY()).eq("lev1", command.getSourcePosZ())); +// LocMast loc = locMastService.selectOne(new EntityWrapper<LocMast>().eq("row1", command.getDestinationPosX()) +// .eq("bay1", command.getDestinationPosY()).eq("lev1", command.getDestinationPosZ())); +// VersionUtils.locMoveCheckLocType(sourceLoc, loc); return crnControl(command)?R.ok():R.error(); } -- Gitblit v1.9.1