20220505 考勤导入功能优化,新增版本号显示。 考试计划详细页新增单独获取考生姓名接口。优化接口请求方法,请求超时时间设置5秒,防止长期占有程序池连接。
This commit is contained in:
@@ -197,6 +197,30 @@ namespace BLL
|
||||
return personId;
|
||||
}
|
||||
|
||||
#region 根据多用户ID得到用户名称字符串
|
||||
/// <summary>
|
||||
/// 根据多用户ID得到用户名称字符串
|
||||
/// </summary>
|
||||
/// <param name="bigType"></param>
|
||||
/// <returns></returns>
|
||||
public static string getPersonsPersonIds(List<string> personIds)
|
||||
{
|
||||
string personName = string.Empty;
|
||||
foreach (string id in personIds)
|
||||
{
|
||||
var q = GetPersonNameById(id);
|
||||
if (q != null)
|
||||
{
|
||||
personName += q + ",";
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(personName))
|
||||
{
|
||||
personName = personName.Substring(0, personName.Length - 1); ;
|
||||
}
|
||||
return personName;
|
||||
}
|
||||
#endregion
|
||||
/// <summary>
|
||||
/// 根据UserId主键获取人员信息
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user