diff --git a/Tiobon.Core.Services/CommonServices.cs b/Tiobon.Core.Services/CommonServices.cs index cafd2020..f49393c5 100644 --- a/Tiobon.Core.Services/CommonServices.cs +++ b/Tiobon.Core.Services/CommonServices.cs @@ -832,7 +832,7 @@ public partial class CommonServices : BaseServices>, ICommon END label FROM Ghrs_LangKey WHERE IsEnable = 1 - AND (LangKey LIKE 'GHR_Page%' OR LangKey LIKE 'GHR_Common%')"; + AND (LangKey LIKE 'GHR_Page%' OR LangKey LIKE 'GHR_Common%' OR LangKey LIKE '{0}%')"; sqlLang = string.Format(sqlLang, param.menuName, App.User.ID, param.langId); sql = "select QueryProcedure, EditProcedure, IUDProcedure from Ghrs_Menu where MenuNo='{0}'"; @@ -1840,7 +1840,7 @@ public partial class CommonServices : BaseServices>, ICommon if (curentMonth < startMonth) - curentYear = -1; + curentYear--; // 创建一个新的列表用于存储重新排序后的结果 List reorderedNumbers = new();