diff --git a/Pilot.Report.Exploitation/ResultsKanbanSummary/ResultsKanbanSumReport.cs b/Pilot.Report.Exploitation/ResultsKanbanSummary/ResultsKanbanSumReport.cs index d62d8b0..e34b697 100644 --- a/Pilot.Report.Exploitation/ResultsKanbanSummary/ResultsKanbanSumReport.cs +++ b/Pilot.Report.Exploitation/ResultsKanbanSummary/ResultsKanbanSumReport.cs @@ -148,7 +148,8 @@ namespace Pilot.Report.Exploitation.ResultsKanbanSummary //循环获取物料信息 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())); }