diff --git a/EuroTran/EasyBL.WEBAPP/SYS/ArgumentMaintain_QryService.cs b/EuroTran/EasyBL.WEBAPP/SYS/ArgumentMaintain_QryService.cs
index 8c5f920..7c8069f 100644
--- a/EuroTran/EasyBL.WEBAPP/SYS/ArgumentMaintain_QryService.cs
+++ b/EuroTran/EasyBL.WEBAPP/SYS/ArgumentMaintain_QryService.cs
@@ -212,5 +212,60 @@ namespace EasyBL.WEBAPP.SYS
}
#endregion 參數值(更新排序)
+
+ #region 參數管理(Dictionary 以ID查詢所有參數)
+
+ ///
+ /// 參數管理(Dictionary 以ID查詢所有參數)
+ ///
+ ///
+ ///
+ public Dictionary FindAllByIDsAsDictionary(string sLanguageID, string sOrgID, string sArgumentClassID) {
+
+ Dictionary rsResult = new Dictionary();
+
+ string sMsg = null;
+ var db = SugarBase.GetIntance();
+ try
+ {
+ do
+ {
+
+ if (string.IsNullOrEmpty(sOrgID)) {
+ sOrgID = WebAppGlobalConstWord.TG_ORGID;
+ }
+
+ if (string.IsNullOrEmpty(sLanguageID)) {
+ sLanguageID = WebAppGlobalConstWord.DEFAULT_LANGUAGE;
+ }
+
+ var saArgumentList = db.Queryable()
+ .Where(t1 => t1.OrgID == sOrgID)
+ .Where(t1 => t1.Effective == "Y")
+ .Where(t1 => t1.DelStatus == "N")
+ //.Where(t1 => t1.LanguageID == sLanguageID)
+ .Where(t1 => t1.ArgumentClassID == sArgumentClassID)
+ .OrderBy(x => x.OrderByValue)
+ .ToList();
+
+ foreach (var Arg in saArgumentList) {
+ rsResult[Arg.ArgumentID] = Arg;
+ }
+
+ return rsResult;
+
+ } while (false);
+ }
+ catch (Exception ex)
+ {
+ sMsg = Util.GetLastExceptionMsg(ex);
+ }
+
+ return rsResult;
+
+ }
+
+ #endregion 參數管理(Dictionary 以ID查詢所有參數)
+
}
}
\ No newline at end of file