Commit 01f59045 by xiongyuwen

no message

parent efa731ed
...@@ -811,8 +811,11 @@ namespace Bailun.Discuz.Application.WeiPan ...@@ -811,8 +811,11 @@ namespace Bailun.Discuz.Application.WeiPan
{ {
if (departmentItems.Count > 1) if (departmentItems.Count > 1)
{ {
var secondDepartments = GetWechatDepartment(companyName, departmentItem.id); if(firstFileName.Split('-').Length>1)
departmentItem = secondDepartments.Where(d => d.name == firstFileName.Split('-')[1]).FirstOrDefault(); {
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