|
|
|
@ -988,7 +988,7 @@ public class WmsHqlPack {
|
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
|
|
|
|
|
|
//查询参数封装
|
|
|
|
|
DdlPreparedPack.getInPackArray(new Object[]{WmsEnumUtil.QC_INFO_STATUS.CREATE.getValue() ,
|
|
|
|
|
DdlPreparedPack.getInPackArray(new Object[]{WmsEnumUtil.QC_INFO_STATUS.CREATE.getValue(),
|
|
|
|
|
WmsEnumUtil.QC_INFO_STATUS.FINISH.getValue()}, "orderStatus", result);
|
|
|
|
|
DdlPreparedPack.getNumEqualPack(CommonEnumUtil.TRUE_OR_FALSE.TRUE.getValue(), "isPart", result);
|
|
|
|
|
//单号
|
|
|
|
@ -1477,18 +1477,21 @@ public class WmsHqlPack {
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public static DdlPackBean packHqlWmsTransModule(WmsTransModule wmsTransModule) {
|
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
|
DdlPackBean packBean = new DdlPackBean();
|
|
|
|
|
if (!Strings.isNullOrEmpty(wmsTransModule.getTmName())) {
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(wmsTransModule.getTmName(), "tmName", result);
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(wmsTransModule.getTmName(), "tmName", packBean);
|
|
|
|
|
}
|
|
|
|
|
if (!Strings.isNullOrEmpty(wmsTransModule.getCallClass())) {
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(wmsTransModule.getCallClass(), "callClass", result);
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(wmsTransModule.getCallClass(), "callClass", packBean);
|
|
|
|
|
}
|
|
|
|
|
if (!Strings.isNullOrEmpty(wmsTransModule.getTmDesc())) {
|
|
|
|
|
DdlPreparedPack.getStringLikerPack(wmsTransModule.getTmDesc(), "tmDesc", result);
|
|
|
|
|
DdlPreparedPack.getStringLikerPack(wmsTransModule.getTmDesc(), "tmDesc", packBean);
|
|
|
|
|
}
|
|
|
|
|
getStringBuilderPack(wmsTransModule, result);
|
|
|
|
|
return result;
|
|
|
|
|
if (StringUtils.isNotBlank(wmsTransModule.orderBy())) {
|
|
|
|
|
packBean.setOrderByStr(wmsTransModule.orderBy());
|
|
|
|
|
}
|
|
|
|
|
getStringBuilderPack(wmsTransModule, packBean);
|
|
|
|
|
return packBean;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -1587,7 +1590,7 @@ public class WmsHqlPack {
|
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
|
|
|
|
|
|
//查询参数封装
|
|
|
|
|
DdlPreparedPack.getInPackArray(new Object[]{WmsEnumUtil.CS_ORDER_STATUS.STARTING_INVENTORY.getValue() ,
|
|
|
|
|
DdlPreparedPack.getInPackArray(new Object[]{WmsEnumUtil.CS_ORDER_STATUS.STARTING_INVENTORY.getValue(),
|
|
|
|
|
WmsEnumUtil.CS_ORDER_STATUS.IN_INVENTORY.getValue()}, "orderStatus", result);
|
|
|
|
|
DdlPreparedPack.getNumEqualPack(CommonEnumUtil.TRUE_OR_FALSE.TRUE.getValue(), "isPart", result);
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(wmsCSOrderMaster.getOrderNo(), "orderNo", result);
|
|
|
|
|