|
@@ -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';
|
|
|
}
|