Parcourir la source

儿保用户导入

ChenWuJie il y a 4 ans
Parent
commit
f6aed358e1
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  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)
             {