فهرست منبع

导入信息合并

sandm 2 سال پیش
والد
کامیت
7e7bd53165
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/job/Import.php

+ 2 - 2
app/job/Import.php

@@ -227,7 +227,7 @@ class Import {
                                         if (!isCreditNo($row[$i]) && $item['card_type'] == 1) {
                                             array_push($msg, "证件号码不正确");
                                         }
-                                        $talent_info = Db::table("new_talent_info")->where("card_number", $row[$i])->where('enterprise_id', $enterprise_id)->findOrEmpty();
+                                        $talent_info = Db::table("new_talent_info")->where("card_number", $row[$i])->findOrEmpty();
                                         if ($talent_info) {
                                             $action = 'update';
                                         }
@@ -381,7 +381,7 @@ class Import {
                                         if (!isCreditNo($row[$i]) && $item['card_type'] == 1) {
                                             array_push($msg, "证件号码不正确");
                                         }
-                                        $talent_info = Db::table("new_talent_info")->where("card_number", $row[$i])->where('enterprise_id', $enterprise_id)->findOrEmpty();
+                                        $talent_info = Db::table("new_talent_info")->where("card_number", $row[$i])->findOrEmpty();
                                         if ($talent_info) {
                                             $action = 'update';
                                         }