From cb17aab1ffe2760859e3f097c529e0d234636065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B1=9F=E7=8E=AE?= Date: Tue, 6 Sep 2022 16:07:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/nl/wms/common/StructFindUtil.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wms/hd/nladmin-system/src/main/java/org/nl/wms/common/StructFindUtil.java b/wms/hd/nladmin-system/src/main/java/org/nl/wms/common/StructFindUtil.java index 4580b2e..47145e9 100644 --- a/wms/hd/nladmin-system/src/main/java/org/nl/wms/common/StructFindUtil.java +++ b/wms/hd/nladmin-system/src/main/java/org/nl/wms/common/StructFindUtil.java @@ -33,13 +33,13 @@ public class StructFindUtil { if (StrUtil.isEmpty(area_type)) { throw new BadRequestException("区域不能为空!"); } - String vehice_type = vehicleObj.getString("vehicle_type"); + String vehicle_type = vehicleObj.getString("vehicle_type"); JSONObject result = WQL .getWO("QSTRUCT_RULE") .addParam("flag", "2") .addParam("material_id", material_id) .addParam("area_type", area_type) - .addParam("vehice_type", vehice_type) + .addParam("vehicle_type", vehicle_type) .process() .uniqueResult(0); return result; @@ -66,7 +66,8 @@ public class StructFindUtil { .addParam("material_id", material_id) .addParam("area_type", area_type) .addParam("vehicle_type", vehicle_type) - .addParam("is_full", is_full).addParam("workprocedure_id", workprocedure_id) + .addParam("is_full", is_full) + .addParam("workprocedure_id", workprocedure_id) .process() .uniqueResult(0); return result;