可以处理流程

This commit is contained in:
yubao
2018-03-26 00:34:49 +08:00
parent 99dd110885
commit 304e465b6b
15 changed files with 407 additions and 323 deletions

View File

@@ -43,5 +43,33 @@ namespace Infrastructure
};
}
}
/// <summary>
/// 把数组转为逗号连接的字符串
/// </summary>
/// <param name="data"></param>
/// <param name="Str"></param>
/// <returns></returns>
public static string ArrayToString(dynamic data, string Str)
{
string resStr = Str;
foreach (var item in data)
{
if (resStr != "")
{
resStr += ",";
}
if (item is string)
{
resStr += item;
}
else
{
resStr += item.Value;
}
}
return resStr;
}
}
}