|
|
@ -2376,9 +2376,9 @@ public class WmsHqlPack {
|
|
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 业务:库存查询封装
|
|
|
|
* 业务:库存查询封装
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -2388,24 +2388,44 @@ public class WmsHqlPack {
|
|
|
|
public static DdlPackBean packWmsRouting(WmsRouting wmsRouting) {
|
|
|
|
public static DdlPackBean packWmsRouting(WmsRouting wmsRouting) {
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingCode(), "routingCode", result);
|
|
|
|
DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingCode(), "routingCode", result);
|
|
|
|
DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingName(), "routingName", result);
|
|
|
|
DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingName(), "routingName", result);
|
|
|
|
|
|
|
|
|
|
|
|
getStringBuilderPack(wmsRouting, result);
|
|
|
|
getStringBuilderPack(wmsRouting, result);
|
|
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static DdlPackBean packWmsRoutingRule(WmsRoutingRule wmsRoutingRule) {
|
|
|
|
public static DdlPackBean packWmsRoutingRule(WmsRoutingRule wmsRoutingRule) {
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DdlPreparedPack.getNumEqualPack(wmsRoutingRule.getRuleType(), "ruleType", result);
|
|
|
|
DdlPreparedPack.getNumEqualPack(wmsRoutingRule.getRuleType(), "ruleType", result);
|
|
|
|
// DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingName(), "routingName", result);
|
|
|
|
// DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingName(), "routingName", result);
|
|
|
|
|
|
|
|
|
|
|
|
getStringBuilderPack(wmsRoutingRule, result);
|
|
|
|
getStringBuilderPack(wmsRoutingRule, result);
|
|
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 物料关系查询条件封装
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param wmsPartRelation
|
|
|
|
|
|
|
|
* @return
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
public static DdlPackBean packHqlWmsPartRelation(WmsPartRelation wmsPartRelation) {
|
|
|
|
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DdlPreparedPack.getStringRightLikerPack(wmsPartRelation.getPartNo(), "partNo", result);
|
|
|
|
|
|
|
|
DdlPreparedPack.getStringLikerPack(wmsPartRelation.getPartName(), "partName", result);
|
|
|
|
|
|
|
|
DdlPreparedPack.getStringLikerPack(wmsPartRelation.getAssociateCode(), "associateCoded", result);
|
|
|
|
|
|
|
|
DdlPreparedPack.getStringLikerPack(wmsPartRelation.getAssociateNameAdd(), "associateNameAdd", result);
|
|
|
|
|
|
|
|
DdlPreparedPack.getNumEqualPack(wmsPartRelation.getAssociateType(), "associateType", result);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getStringBuilderPack(wmsPartRelation, result);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|