Merge remote-tracking branch 'origin/test' into test

yun-zuoyi
许心洁 5 years ago
commit 4a9e5cbb59

@ -395,7 +395,16 @@ public class WmsHqlPack {
DdlPreparedPack.getStringRightLikerPack(wmsPart.getPartNo(), "partNo", result); DdlPreparedPack.getStringRightLikerPack(wmsPart.getPartNo(), "partNo", result);
DdlPreparedPack.getStringLikerPack(wmsPart.getPartName(), "partName", result); DdlPreparedPack.getStringLikerPack(wmsPart.getPartName(), "partName", result);
DdlPreparedPack.getStringLikerPack(wmsPart.getPartSpec(), "partSpec", result); DdlPreparedPack.getStringLikerPack(wmsPart.getPartSpec(), "partSpec", result);
if (!StringUtil.isEmpty(wmsPart.getPartType()) && wmsPart.getPartType().contains(",")) {
String types[] = wmsPart.getPartType().split(",");
List<String> partTypes = new ArrayList<>();
for (String type : types) {
partTypes.add(type);
}
DdlPreparedPack.getInPackList(partTypes, "partType", result);
} else {
DdlPreparedPack.getStringEqualPack(wmsPart.getPartType(), "partType", result); DdlPreparedPack.getStringEqualPack(wmsPart.getPartType(), "partType", result);
}
DdlPreparedPack.getNumEqualPack(wmsPart.getSnControl(), "snControl", result); DdlPreparedPack.getNumEqualPack(wmsPart.getSnControl(), "snControl", result);
DdlPreparedPack.getNumEqualPack(wmsPart.getIsValuable(), "isValuable",result); DdlPreparedPack.getNumEqualPack(wmsPart.getIsValuable(), "isValuable",result);
getStringBuilderPack(wmsPart, result); getStringBuilderPack(wmsPart, result);

Loading…
Cancel
Save