增加根据物料号取库存地信息的微服务接口

yun-zuoyi
钮海涛 5 years ago
parent 933f2014ad
commit 14e68803df

@ -395,7 +395,16 @@ public class WmsHqlPack {
DdlPreparedPack.getStringRightLikerPack(wmsPart.getPartNo(), "partNo", result);
DdlPreparedPack.getStringLikerPack(wmsPart.getPartName(), "partName", result);
DdlPreparedPack.getStringLikerPack(wmsPart.getPartSpec(), "partSpec", result);
DdlPreparedPack.getStringEqualPack(wmsPart.getPartType(), "partType", 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.getNumEqualPack(wmsPart.getSnControl(), "snControl", result);
DdlPreparedPack.getNumEqualPack(wmsPart.getIsValuable(), "isValuable",result);
getStringBuilderPack(wmsPart, result);

Loading…
Cancel
Save