@@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace OASystem.Domain.Entities.Groups
{
/// <summary>
- /// 公务出访表
+ /// 报批行程表
/// </summary>
public class Grp_ApprovalTravel:EntityBase
@@ -8,7 +8,7 @@ namespace OASystem.Domain.Entities.Groups
- /// 公务出访详细表
+ /// 报批行程详细表
public class Grp_ApprovalTravelDetails:EntityBase
@@ -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);
+ }