Commit 198ee938 zshaohui

1.获取GR数量 不调用接口

1 个父辈 150bf03f
......@@ -602,7 +602,7 @@ public class StoragePosManagerImpl implements IStoragePosManager {
}
c = c.and("enabled").is(true)//可用
.and("used").is(false);//未使用
.and("barcode").exists(false);//未使用
//去除的仓位
if (excludePosIds != null && !excludePosIds.isEmpty()) {
......
......@@ -74,7 +74,7 @@ public class GrUtil {
}
String key = grCode + "_" + grItem;
GrUdNum grUdNum = cacheMap.get(key);
//解析条码为barcode
/*//解析条码为barcode
Barcode barcode = codeResolve.resolveCode(grUdNum.getCode());
if (barcode == null) {
throw new ValidateException("smfcore.error.barcode.invalid", "条码无效");
......@@ -99,7 +99,7 @@ public class GrUtil {
grUdNum.setPickedQty(Double.valueOf(queryGrStatusDto.getPickedQty()).intValue());
cacheMap.put(key, grUdNum);
dataCache.updateCache(CACHE_GR_UDQTY, cacheMap);
}
}*/
return grUdNum;
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!