Commit 01f59045 by xiongyuwen

no message

parent efa731ed
...@@ -811,10 +811,13 @@ namespace Bailun.Discuz.Application.WeiPan ...@@ -811,10 +811,13 @@ namespace Bailun.Discuz.Application.WeiPan
{ {
if (departmentItems.Count > 1) if (departmentItems.Count > 1)
{ {
if(firstFileName.Split('-').Length>1)
{
var secondDepartments = GetWechatDepartment(companyName, departmentItem.id); var secondDepartments = GetWechatDepartment(companyName, departmentItem.id);
departmentItem = secondDepartments.Where(d => d.name == firstFileName.Split('-')[1]).FirstOrDefault(); departmentItem = secondDepartments.Where(d => d.name == firstFileName.Split('-')[1]).FirstOrDefault();
} }
} }
}
if (departmentItem != null|| selDepartments[0]== "公司制度及资讯") if (departmentItem != null|| selDepartments[0]== "公司制度及资讯")
{ {
......
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