增加日志及工效导出功能
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user