增加日志及工效导出功能

This commit is contained in:
2023-11-06 16:28:02 +08:00
parent 431c62a9a5
commit 9600736804
26 changed files with 4070 additions and 19 deletions
@@ -339,6 +339,29 @@ namespace BLL
return list;
}
public static string GetMajorName(string majorIds)
{
string majorName = string.Empty;
if (!string.IsNullOrEmpty(majorIds))
{
string[] strs = majorIds.Split(',');
var items = GetMajorItems2();
foreach (var item in strs)
{
var un = items.FirstOrDefault(x => x.Text == item);
if (un != null)
{
majorName += un.Value + ",";
}
}
if (!string.IsNullOrEmpty(majorName))
{
majorName = majorName.Substring(0, majorName.LastIndexOf(","));
}
}
return majorName;
}
#region
/// <summary>