Commit 01f59045 by xiongyuwen

no message

parent efa731ed
......@@ -811,8 +811,11 @@ namespace Bailun.Discuz.Application.WeiPan
{
if (departmentItems.Count > 1)
{
var secondDepartments = GetWechatDepartment(companyName, departmentItem.id);
departmentItem = secondDepartments.Where(d => d.name == firstFileName.Split('-')[1]).FirstOrDefault();
if(firstFileName.Split('-').Length>1)
{
var secondDepartments = GetWechatDepartment(companyName, departmentItem.id);
departmentItem = secondDepartments.Where(d => d.name == firstFileName.Split('-')[1]).FirstOrDefault();
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment