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 =>