Commit 97d04431 张少辉

1.自动抛送odn优化

1 个父辈 450ac22c
......@@ -335,7 +335,7 @@ public class StoragePosManagerImpl implements IStoragePosManager {
Criteria c = Criteria.where("barcode.partNumber").is(pn)
.and("id").nin(excludePosIds)
.and("enabled").is(true)//可用
.and("barcode.lockId").is(null);//没有被锁定的仓位;
.and("barcode.lockId").in(null,"");//没有被锁定的仓位;
if (storageIdList != null) {
c = c.and("storageId").in(storageIdList);
}
......
......@@ -65,7 +65,7 @@ public class AutoDispatchInventoryController {
private IAutoStoOdnManager autoStoOdnManager;
@Scheduled(fixedRate = 1000 * 60 * 1)
@Scheduled(fixedRate = 1000 * 60 * 10)
private void autoSend() {
Boolean dispath = dataCache.getCache(Constants.CACHE_AutoDispatchInventory);
if (dispath == null) {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!