From 17d9927b1a7de8de4d24b613a54fab26adde79e1 Mon Sep 17 00:00:00 2001 From: amy <962239776@qq.com> Date: Wed, 10 Apr 2019 18:07:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java index c30c597..839fb10 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java @@ -299,20 +299,21 @@ public class WmsHqlPack { * @param wmsLocate * @return */ - public static String packHqlWmsLocates(WmsLocate wmsLocate) { - StringBuffer result = new StringBuffer(); + public static DdlPackBean packHqlWmsLocates(WmsLocate wmsLocate) { + //查询参数封装 + DdlPackBean result = new DdlPackBean(); //查询参数封装 - HqlPack.getStringLikerPack(wmsLocate.getLocateNo(), "locateNo", result); - HqlPack.getStringLikerPack(wmsLocate.getLocateName(), "locateName", result); - HqlPack.getNumEqualPack(wmsLocate.getLocateType(), "locateType", result); - HqlPack.getStringLikerPack(wmsLocate.getWhNo(), "whNo", result); - HqlPack.getStringLikerPack(wmsLocate.getZoneNo(), "zoneNo", result); - HqlPack.getNumEqualPack(wmsLocate.getStatus(), "status", result); + DdlPreparedPack.getStringLikerPack(wmsLocate.getLocateNo(), "locateNo", result); + DdlPreparedPack.getStringLikerPack(wmsLocate.getLocateName(), "locateName", result); + DdlPreparedPack.getNumEqualPack(wmsLocate.getLocateType(), "locateType", result); + DdlPreparedPack.getStringLikerPack(wmsLocate.getWhNo(), "whNo", result); + DdlPreparedPack.getStringLikerPack(wmsLocate.getZoneNo(), "zoneNo", result); + DdlPreparedPack.getNumEqualPack(wmsLocate.getStatus(), "status", result); getStringBuilderPack(wmsLocate, result); - return result.toString(); + return result; } /**