增加日志及工效导出功能

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
@@ -205,5 +205,26 @@ namespace BLL
}
}
public static string GetContractName(string contractIds)
{
string contractName = string.Empty;
if (!string.IsNullOrEmpty(contractIds))
{
string[] strs = contractIds.Split(',');
foreach (var item in strs)
{
var cn = GetContractById(item);
if (cn != null)
{
contractName += cn.ContractName + ",";
}
}
if (!string.IsNullOrEmpty(contractName))
{
contractName = contractName.Substring(0, contractName.LastIndexOf(","));
}
}
return contractName;
}
}
}