diff --git a/YLErpDAL/Modules/DataCacheModule/DBCacheManager.cs b/YLErpDAL/Modules/DataCacheModule/DBCacheManager.cs
index 8e288b79..059ce027 100644
--- a/YLErpDAL/Modules/DataCacheModule/DBCacheManager.cs
+++ b/YLErpDAL/Modules/DataCacheModule/DBCacheManager.cs
@@ -69,7 +69,7 @@ namespace YLErp.Modules.DataCacheModule
}
}
- public string GetStr(string key, string template = "默认")
+ public string GetStr(string key, string template = "榛樿")
{
if (string.IsNullOrEmpty(key))
{
@@ -93,7 +93,7 @@ namespace YLErp.Modules.DataCacheModule
}
}
- public void UpdateObj(string key, string value, string template = "默认")
+ public void UpdateObj(string key, string value, string template = "榛樿")
{
if (string.IsNullOrEmpty(key))
{
@@ -121,7 +121,7 @@ namespace YLErp.Modules.DataCacheModule
/// Type
/// The key of the value to get.
/// The value associated with the specified key.
- public virtual T Get(string key, string template = "默认") where T : new()
+ public virtual T Get(string key, string template = "榛樿") where T : new()
{
if (!string.IsNullOrEmpty(key) && CacheDic.TryGetValue(key + template, out CacheTable ca))
{
@@ -136,7 +136,7 @@ namespace YLErp.Modules.DataCacheModule
/// key
/// Data
/// Cache time
- public virtual void Set(string key, object data, int cacheTime = CacheTimeout, string template = "默认")
+ public virtual void Set(string key, object data, int cacheTime = CacheTimeout, string template = "榛樿")
{
if (string.IsNullOrEmpty(key) || data == null)
{
@@ -180,7 +180,7 @@ namespace YLErp.Modules.DataCacheModule
///
/// key
/// Result
- public virtual bool IsSet(string key, string template = "默认")
+ public virtual bool IsSet(string key, string template = "榛樿")
{
return !string.IsNullOrEmpty(key + template) && CacheDic.ContainsKey(key + template);
}
@@ -189,7 +189,7 @@ namespace YLErp.Modules.DataCacheModule
/// Removes the value with the specified key from the cache
///
/// /key
- public virtual void Remove(string key, string template = "默认")
+ public virtual void Remove(string key, string template = "榛樿")
{
if (string.IsNullOrEmpty(key))
{
@@ -214,11 +214,11 @@ namespace YLErp.Modules.DataCacheModule
List fliterList = new List();
switch (reportType)
{
- case "交易明细": fliterList = TradeDetailReport; break;
- case "互换明细": fliterList = TradeSwapDetailReport; break;
- case "结算报告": fliterList = ClientBalanceReport; break;
+ case "浜ゆ槗鏄庣粏": fliterList = TradeDetailReport; break;
+ case "浜掓崲鏄庣粏": fliterList = TradeSwapDetailReport; break;
+ case "缁撶畻鎶ュ憡": fliterList = ClientBalanceReport; break;
default:
- throw new ServiceException("错误的报告类型");
+ throw new ServiceException("閿欒鐨勬姤鍛婄被鍨");
}
using (ErpBaseContext db = new ErpBaseContext())
{
@@ -231,11 +231,11 @@ namespace YLErp.Modules.DataCacheModule
List fliterList = new List();
switch (reportType)
{
- case "交易明细": fliterList = TradeDetailReport; break;
- case "互换明细": fliterList = TradeSwapDetailReport; break;
- case "结算报告": fliterList = ClientBalanceReport; break;
+ case "浜ゆ槗鏄庣粏": fliterList = TradeDetailReport; break;
+ case "浜掓崲鏄庣粏": fliterList = TradeSwapDetailReport; break;
+ case "缁撶畻鎶ュ憡": fliterList = ClientBalanceReport; break;
default:
- throw new ServiceException("错误的报告类型");
+ throw new ServiceException("閿欒鐨勬姤鍛婄被鍨");
}
using (ErpBaseContext db = new ErpBaseContext())
{
@@ -247,7 +247,7 @@ namespace YLErp.Modules.DataCacheModule
}
else
{
- throw new ServiceException("不存在 " + needDel + " 模板");
+ throw new ServiceException("涓嶅瓨鍦 " + needDel + " 妯℃澘");
}
}
}