From 8cbb45bca87d49537ea28bc5adec96aea80c2682 Mon Sep 17 00:00:00 2001 From: xusc Date: Mon, 8 May 2023 14:17:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=84=9A=E6=9C=AC=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/aspnet-core/ICS.Script/ICS.Script.csproj | 9 ++++ .../ICS.Script/MES基础版脚本.sql | 48 +++++++++++++++++++ src/aspnet-core/YoyoBoot.sln | 22 +++++++++ .../ConfigFiles/DynamicMenus/Menu.json | 4 +- 4 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 src/aspnet-core/ICS.Script/ICS.Script.csproj create mode 100644 src/aspnet-core/ICS.Script/MES基础版脚本.sql diff --git a/src/aspnet-core/ICS.Script/ICS.Script.csproj b/src/aspnet-core/ICS.Script/ICS.Script.csproj new file mode 100644 index 00000000..132c02c5 --- /dev/null +++ b/src/aspnet-core/ICS.Script/ICS.Script.csproj @@ -0,0 +1,9 @@ + + + + net6.0 + enable + enable + + + diff --git a/src/aspnet-core/ICS.Script/MES基础版脚本.sql b/src/aspnet-core/ICS.Script/MES基础版脚本.sql new file mode 100644 index 00000000..c7b89a6e --- /dev/null +++ b/src/aspnet-core/ICS.Script/MES基础版脚本.sql @@ -0,0 +1,48 @@ + + + +--alter table IcsFactory add constraint UQ_FacCode unique (FacCode) +--¹¤³§Î¬»¤ +CREATE UNIQUE INDEX IcsFactory_FacCode_TenantId on IcsFactory (FacCode,TenantId); + +--³µ¼äά»¤ +CREATE UNIQUE INDEX IcsSeg_segcode_TenantId on [dbo].[IcsSeg] (segcode,TenantId); + +--³µ¼äά»¤ +CREATE UNIQUE INDEX icsss_sscode_TenantId on icsss (sscode,TenantId); + +--³µ¼äά»¤ +CREATE UNIQUE INDEX IcsMachineCell_mccode_TenantId on IcsMachineCell (mccode,TenantId); + +--³µ¼äά»¤ +CREATE UNIQUE INDEX IcsRes_rescode_TenantId on IcsRes (rescode,TenantId); + +--³µ¼äά»¤ +CREATE UNIQUE INDEX IcsDct_dctcode_TenantId on IcsDct (dctcode,TenantId); + +--³µ¼äά»¤ +CREATE UNIQUE INDEX IcsCrew_crewcode_TenantId on IcsCrew (crewcode,TenantId); + +--³µ¼äά»¤ +CREATE UNIQUE INDEX SysEnumKey_enumkey_TenantId on SysEnumKey (enumkey,TenantId); + + +--³µ¼äά»¤ +CREATE UNIQUE INDEX SysEnumValue_enumvalue_TenantId on SysEnumValue (enumvalue,TenantId); + +--³µ¼äά»¤ +CREATE UNIQUE INDEX SysDataBase_DBSourceCode_TenantId on [dbo].[SysDataBase] (DBSourceCode,TenantId); + +--³µ¼äά»¤ +CREATE UNIQUE INDEX IcsFliterColumnConfig_menucode_TenantId on IcsFliterColumnConfig (menucode,TenantId); + +--³µ¼äά»¤ +CREATE INDEX IcsDynamicColumnConfig_menucode on IcsDynamicColumnConfig (menucode,TenantId); + + + +CREATE INDEX SysModifyLog_billcode on SysModifyLog (billcode); +CREATE INDEX SysModifyLog_billtype on SysModifyLog (billtype); +CREATE INDEX SysModifyLog_modifytype on SysModifyLog (modifytype); +CREATE INDEX SysModifyLog_entityname on SysModifyLog (entityname); +CREATE INDEX SysModifyLog_TenantId on SysModifyLog (TenantId); \ No newline at end of file diff --git a/src/aspnet-core/YoyoBoot.sln b/src/aspnet-core/YoyoBoot.sln index c973d26b..e1a29335 100644 --- a/src/aspnet-core/YoyoBoot.sln +++ b/src/aspnet-core/YoyoBoot.sln @@ -1,3 +1,4 @@ + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.2.32516.85 @@ -84,6 +85,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "04-Web", "04-Web", "{110A5E EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "01-ICSCore", "01-ICSCore", "{28308F0F-C861-4DC3-A21C-D6598BCE12DB}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SQL", "SQL", "{44C9BA8F-D751-44B8-8416-7F3C2847433F}" + ProjectSection(SolutionItems) = preProject + ..\..\..\..\..\..\..\..\SQL\MSSQL\MES基础版脚本.sql = ..\..\..\..\..\..\..\..\SQL\MSSQL\MES基础版脚本.sql + EndProjectSection +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICS.Script", "ICS.Script\ICS.Script.csproj", "{6D88450B-8DEA-48F2-BC83-08CC5591E72D}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -214,6 +222,18 @@ Global {031FCAD3-B3FE-4B76-A83D-D1FE60FA7C07}.Release|Any CPU.Build.0 = Release|Any CPU {031FCAD3-B3FE-4B76-A83D-D1FE60FA7C07}.Release|x64.ActiveCfg = Release|Any CPU {031FCAD3-B3FE-4B76-A83D-D1FE60FA7C07}.Release|x64.Build.0 = Release|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Debug|x64.ActiveCfg = Debug|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Debug|x64.Build.0 = Debug|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Demo|Any CPU.ActiveCfg = Debug|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Demo|Any CPU.Build.0 = Debug|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Demo|x64.ActiveCfg = Debug|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Demo|x64.Build.0 = Debug|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Release|Any CPU.Build.0 = Release|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Release|x64.ActiveCfg = Release|Any CPU + {6D88450B-8DEA-48F2-BC83-08CC5591E72D}.Release|x64.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -239,6 +259,8 @@ Global {132C04FF-6E31-40F5-9667-11F98D3D9EEE} = {AFAA0841-BD93-466F-B8F4-FB4EEC86F1FC} {110A5E73-8273-4044-BA8B-35C76800C364} = {AFAA0841-BD93-466F-B8F4-FB4EEC86F1FC} {28308F0F-C861-4DC3-A21C-D6598BCE12DB} = {AFAA0841-BD93-466F-B8F4-FB4EEC86F1FC} + {44C9BA8F-D751-44B8-8416-7F3C2847433F} = {AFAA0841-BD93-466F-B8F4-FB4EEC86F1FC} + {6D88450B-8DEA-48F2-BC83-08CC5591E72D} = {28308F0F-C861-4DC3-A21C-D6598BCE12DB} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {687B3B5A-C6AD-4F81-A512-13BED174F85C} diff --git a/src/aspnet-core/src/YoyoBoot.Web.Host/wwwroot/ConfigFiles/DynamicMenus/Menu.json b/src/aspnet-core/src/YoyoBoot.Web.Host/wwwroot/ConfigFiles/DynamicMenus/Menu.json index d169979b..8ef8e250 100644 --- a/src/aspnet-core/src/YoyoBoot.Web.Host/wwwroot/ConfigFiles/DynamicMenus/Menu.json +++ b/src/aspnet-core/src/YoyoBoot.Web.Host/wwwroot/ConfigFiles/DynamicMenus/Menu.json @@ -30,7 +30,7 @@ "HideBreadcrumb": false, "CarryParam": false, "HideTab": false, - "HideMenu": false, + "HideMenu": true, "HideChildrenInMenu": false, "OrderNo": 8, "WaterMarkEnabled": false, @@ -64,7 +64,7 @@ "HideBreadcrumb": false, "CarryParam": false, "HideTab": false, - "HideMenu": false, + "HideMenu": true, "HideChildrenInMenu": false, "OrderNo": 9, "WaterMarkEnabled": false,