1.WebSocket登录注册
2.数据重发机制
This commit is contained in:
@ -14,6 +14,9 @@ namespace WCS.BLL.Manager
|
||||
{
|
||||
public static void InitDb()
|
||||
{
|
||||
Logs.Write("【初始化数据库】开始", LogsType.StartBoot);
|
||||
DbHelp.db.DbMaintenance.CreateDatabase();
|
||||
|
||||
DbHelp.db.CodeFirst.InitTables(typeof(ModuleInfo), typeof(ShelfInfo), typeof(StoreInfo)
|
||||
, typeof(InventoryDetail), typeof(OutOrder), typeof(OutOrderDetail), typeof(OutOrderMatDetail)
|
||||
, typeof(ShelfTypeInfo), typeof(MatBaseInfo), typeof(MatInfo)
|
||||
@ -43,6 +46,8 @@ namespace WCS.BLL.Manager
|
||||
DbHelp.db.Insertable(outDocumentSerialNumber).ExecuteCommand();
|
||||
DbHelp.db.Insertable(stockTakingDocumentSerialNumber).ExecuteCommand();
|
||||
}
|
||||
|
||||
Logs.Write("【初始化数据库】结束", LogsType.StartBoot);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user