Explorar el Código

儿保用户导入

ChenWuJie hace 4 años
padre
commit
f6aed358e1
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      app/Imports/User/PatientsSheet.php

+ 6 - 0
app/Imports/User/PatientsSheet.php

xqd
@@ -22,6 +22,12 @@ class PatientsSheet implements ToCollection
             {
                 continue;
             }
+            //todo 用同一个程序的话,excel的字段顺序要对应起来
+            if ($row[0]=="孩子姓名")
+            {
+                continue;
+            }
+
             //姓名
             if ($row[2] == null)
             {