xusc 5 days ago
parent
commit
9496c80009
  1. 22
      src/aspnet-core/ICS.Script/MES基础版索引.sql

22
src/aspnet-core/ICS.Script/MES基础版索引.sql

@ -500,3 +500,25 @@ GO
COMMIT;
GO
CREATE INDEX [IX_IcsItemRoute2Op_ItemCode] ON [IcsItemRoute2Op] ([ItemCode]);
GO
CREATE INDEX [IX_IcsItemRoute2Op_OpCode] ON [IcsItemRoute2Op] ([OpCode]);
GO
CREATE INDEX [IX_IcsItemRoute2Op_RouteCode] ON [IcsItemRoute2Op] ([RouteCode]);
GO
--CREATE INDEX [IX_IcsItemRoute2Op_TenantId] ON [IcsItemRoute2Op] ([TenantId]);
--GO
CREATE INDEX [IX_IcsItem2Route_ItemCode] ON [IcsItem2Route] ([ItemCode]);
GO
CREATE INDEX [IX_IcsItem2Route_RouteCode] ON [IcsItem2Route] ([RouteCode]);
GO
--CREATE INDEX [IX_IcsItem2Route_TenantId] ON [IcsItem2Route] ([TenantId]);
--GO
Loading…
Cancel
Save