1.智能货架退出出库后解锁
2.数据库支持多线程 3.调整出库单据导入模板
This commit is contained in:
@ -694,6 +694,18 @@ namespace WCS.BLL.HardWare
|
||||
WarningManager.SendWarning(warningModel);
|
||||
}
|
||||
|
||||
var currentOutStoreMatSns = CurrentOutStoreMatSNs.ToList();
|
||||
Task.Run(() =>
|
||||
{
|
||||
var matDetails = DbHelp.db.Queryable<InventoryDetail>()
|
||||
.Where(t => currentOutStoreMatSns.Contains(t.MatSN))
|
||||
.Where(t => t.IsLocked)
|
||||
.ToList();
|
||||
matDetails.ForEach(t => t.IsLocked = false);
|
||||
DbHelp.db.Updateable(matDetails).ExecuteCommand();
|
||||
});
|
||||
|
||||
|
||||
CurrentOutStoreMatSNs.Clear();
|
||||
WarningLight.CloseLight(TcpCleint);
|
||||
SetCurrentMode(Mode.待机模式);
|
||||
|
Reference in New Issue
Block a user