From 7a1d9609bb8783847d18c1ff7495724d5d37c8d1 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Thu, 2 Jan 2025 13:44:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Services/CommonServices.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();