From 7290d4a43f72edd96824fcf831d76bbcd6209b0f Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Fri, 21 Oct 2016 15:18:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B9=E6=B3=95=E5=A2=9E=E5=8A=A0=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=BB=98=E8=AE=A4=E5=80=BC=EF=BC=8C=E6=96=B9=E4=BE=BF?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AB=AF=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.DataAccess/TerminalHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.DataAccess/TerminalHelper.cs b/Bootstrap.DataAccess/TerminalHelper.cs index b01f28a1..1eb2d4b5 100644 --- a/Bootstrap.DataAccess/TerminalHelper.cs +++ b/Bootstrap.DataAccess/TerminalHelper.cs @@ -21,7 +21,7 @@ namespace Bootstrap.DataAccess /// /// /// - public static IEnumerable RetrieveTerminals(string tId) + public static IEnumerable RetrieveTerminals(string tId = null) { string sql = "select t.*, tc.RuleID, r.Name RuleName from Terminals t left join TerminalRuleConfig tc on t.ID = tc.TerminalId left join Rules r on tc.RuleId = r.Id order by t.Name"; var ret = CacheManager.GetOrAdd(TerminalDataKey, CacheSection.RetrieveIntervalByKey(TerminalDataKey), key =>