duhongyu %!s(int64=3) %!d(string=před) roky
rodič
revize
6205563cb8

+ 2 - 2
RMYY_CallCenter_Api/Controllers/CustomFiledController.cs

@@ -154,9 +154,9 @@ namespace RMYY_CallCenter_Api.Controllers
154 154
             }
155 155
             if(modellist!=null && modellist.Count > 0)
156 156
             {
157
-                string[] cols = modellist.FirstOrDefault().F_FiledNames.Split(',');
157
+              
158 158
                 DataTable newTable = dt.DefaultView.ToTable(false, modellist.FirstOrDefault().F_Fileds.Split(','));
159
-                var npoi = new NPOIHelper().ExportToExcel(Name, newTable, cols);
159
+                var npoi = new NPOIHelper().ExportToExcel(Name, newTable);
160 160
                 if (npoi == "")
161 161
                     return true;
162 162
                 else