This commit is contained in:
2025-02-22 10:34:16 +08:00
63 changed files with 4416 additions and 3 deletions
+8
View File
@@ -1729,6 +1729,14 @@ namespace BLL
#region
/// <summary>
<<<<<<< HEAD
=======
/// 岗位培训记录
/// </summary>
public const string PostTrainingRecordMenuId = "CEF2A108-DDC2-46A2-A47B-7431F1F890F1";
/// <summary>
>>>>>>> 7396d1b654f9a1d0172b2ac898a20175abe94d74
/// 岗位培训类别
/// </summary>
public const string PostTrainingCategoryMenuId = "465786B2-AD20-483A-A082-B2C944BE998F";
+29
View File
@@ -0,0 +1,29 @@
using System;
using System.Data;
using System.Linq;
namespace BLL
{
/// <summary>
/// 字符串操作辅助类
/// </summary>
public class StringHelper
{
/// <summary>
/// 字符串转换
/// 'A,B,C' => 'A','B','C'
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
public static string StringConvert(string str)
{
string result = string.Empty;
if (!string.IsNullOrWhiteSpace(str))
{
string[] items = str.Split(',');
result = string.Join(",", items.Select(x => $"'{x}'"));
}
return result;
}
}
}