This commit is contained in:
李狗蛋 2025-03-23 22:36:16 +08:00
parent 064bd4be1b
commit df4949cc7c

View File

@ -148,7 +148,8 @@ namespace Pilot.Report.Exploitation.ResultsKanbanSummary
//循环获取物料信息 //循环获取物料信息
foreach (DynamicObject dobj in xsy) foreach (DynamicObject dobj in xsy)
{ {
xsyList.Add(Convert.ToString((dobj["F_Salesperson"] as DynamicObject)["Name"])); DynamicObject dynamic = dobj["F_Salesperson"] as DynamicObject;
xsyList.Add(dynamic["Name"].ToString());
} }
strwhere.AppendFormat(string.Format(@"AND 销售员 IN ({0})"),string.Join(",",xsyList.ToArray())); strwhere.AppendFormat(string.Format(@"AND 销售员 IN ({0})"),string.Join(",",xsyList.ToArray()));
} }