From 9496c80009e3959f2ee6d4d4f48566c614f1b759 Mon Sep 17 00:00:00 2001 From: xusc Date: Wed, 20 Nov 2024 09:26:13 +0800 Subject: [PATCH] .. --- .../ICS.Script/MES基础版索引.sql | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/aspnet-core/ICS.Script/MES基础版索引.sql b/src/aspnet-core/ICS.Script/MES基础版索引.sql index d3517029..4f4b19d6 100644 --- a/src/aspnet-core/ICS.Script/MES基础版索引.sql +++ b/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 \ No newline at end of file