|
@@ -240,7 +240,7 @@ class Talent extends EnterpriseController {
|
|
exit;
|
|
exit;
|
|
}
|
|
}
|
|
|
|
|
|
- if ($condition_info["bindFileTypes"] && $info["source"] == 5) {
|
|
|
|
|
|
+ if ($condition_info["bindFileTypes"] && in_array($info["source"], [3, 4, 5])) {
|
|
$whr[] = ["id", "in", $condition_info["bindFileTypes"]];
|
|
$whr[] = ["id", "in", $condition_info["bindFileTypes"]];
|
|
$whr[] = ["must", "=", 1];
|
|
$whr[] = ["must", "=", 1];
|
|
}
|
|
}
|
|
@@ -372,7 +372,7 @@ class Talent extends EnterpriseController {
|
|
exit;
|
|
exit;
|
|
}
|
|
}
|
|
$isMatchZhiren = $info["isImport"] && $params["isMatchZhiren"] == 1 ? true : false;
|
|
$isMatchZhiren = $info["isImport"] && $params["isMatchZhiren"] == 1 ? true : false;
|
|
- if ($condition_info["bindFileTypes"] && $info["source"] == 5 && !$isMatchZhiren) {
|
|
|
|
|
|
+ if ($condition_info["bindFileTypes"] && in_array($info["source"], [3, 4, 5]) && !$isMatchZhiren) {
|
|
$whr[] = ["id", "in", $condition_info["bindFileTypes"]];
|
|
$whr[] = ["id", "in", $condition_info["bindFileTypes"]];
|
|
$whr[] = ["must", "=", 1];
|
|
$whr[] = ["must", "=", 1];
|
|
}
|
|
}
|