|
@@ -209,5 +209,21 @@ namespace OASystem.Infrastructure.Repositories.Resource
|
|
|
}
|
|
|
return result;
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 三字码数组查询
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="codeArr">需要查询的三字码数组</param>
|
|
|
+ /// <returns>查询到的键值对数组</returns>
|
|
|
+
|
|
|
+ public Dictionary<string,Res_ThreeCode> QueryThreeCodeArray(List<string> codeArr)
|
|
|
+ {
|
|
|
+ codeArr.ForEach(code =>
|
|
|
+ {
|
|
|
+ code = code.ToUpper();
|
|
|
+ });
|
|
|
+ return Query(x => codeArr.Contains(x.Three.ToUpper())).ToList().ToDictionary(x => x.Three, x => x);
|
|
|
+ }
|
|
|
}
|
|
|
}
|