mes初始化
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
using SqlSugar.IOC;
|
||||
using ZR.Model.mes.md;
|
||||
using ZR.Model.mes.pro;
|
||||
using ZR.Model.MES.op.ZR.Model.mes.md;
|
||||
using ZR.Model.Models;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Generate;
|
||||
@@ -48,6 +51,28 @@ namespace ZR.Admin.WebApi.Extensions
|
||||
db.CodeFirst.InitTables(typeof(SysDictData));
|
||||
db.CodeFirst.InitTables(typeof(SysDictType));
|
||||
db.CodeFirst.InitTables(typeof(SqlDiffLog));
|
||||
|
||||
// MES 初始化表
|
||||
db.CodeFirst.InitTables(typeof(MdBom));
|
||||
db.CodeFirst.InitTables(typeof(MdDevice));
|
||||
db.CodeFirst.InitTables(typeof(MdPallet));
|
||||
db.CodeFirst.InitTables(typeof(MdProductDefine));
|
||||
db.CodeFirst.InitTables(typeof(MdProrouteSort));
|
||||
db.CodeFirst.InitTables(typeof(MdTechnologicalProroute));
|
||||
db.CodeFirst.InitTables(typeof(MdUnit));
|
||||
db.CodeFirst.InitTables(typeof(MdWorkline));
|
||||
db.CodeFirst.InitTables(typeof(MdWorkshop));
|
||||
db.CodeFirst.InitTables(typeof(MdWorkline));
|
||||
db.CodeFirst.InitTables(typeof(MdWorksort));
|
||||
db.CodeFirst.InitTables(typeof(MdWorkstation));
|
||||
db.CodeFirst.InitTables(typeof(OpStatistics));
|
||||
db.CodeFirst.InitTables(typeof(ProWorkorder));
|
||||
db.CodeFirst.InitTables(typeof(ProWorkplan));
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user