Explorar el Código

成本excel ++

yuanrf hace 2 meses
padre
commit
9f625ce754
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 4 - 1
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -17923,7 +17923,10 @@ FROM
 
             foreach (var item in dataSourceKeys)
             {
-                var find = dto.titleModel.FirstOrDefault(x => x.label.Replace(" ", "").Replace("/", "") == item);
+                Func<TitleModel, bool> expr = x => x.label.Replace(" ", "").Replace("/", "") == item 
+                || x.label.Replace(" ", "").Replace("/", "").ToUpper() == item.ToUpper();
+                
+                var find = dto.titleModel.FirstOrDefault(expr);
                 if (find != null)
                 {
                     designer.SetDataSource(item, find.text);