|
@@ -138,10 +138,12 @@ class TalentTypeChange extends EnterpriseController {
|
|
|
$response->msg = "不能重复提交审核";
|
|
|
return $response;
|
|
|
}
|
|
|
- $condition_info = Db::table("new_talent_condition")->findOrEmpty($info["newIdentifyCondition"]);
|
|
|
- if ($condition_info["bindFileTypes"]) {
|
|
|
- $whr[] = ["id", "in", $condition_info["bindFileTypes"]];
|
|
|
- $whr[] = ["must", "=", 1];
|
|
|
+ if ($info["type"] == \app\common\state\CommonConst::ENTERPRISE_NORMAL && in_array($info["newSource"], [3, 4, 5]) || $info["type"] == \app\common\state\CommonConst::ENTERPRISE_WJ || $info["type"] == \app\common\state\CommonConst::ENTERPRISE_GJ) {
|
|
|
+ $condition_info = Db::table("new_talent_condition")->findOrEmpty($info["newIdentifyCondition"]);
|
|
|
+ if ($condition_info["bindFileTypes"]) {
|
|
|
+ $whr[] = ["id", "in", $condition_info["bindFileTypes"]];
|
|
|
+ $whr[] = ["must", "=", 1];
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
$where = [];
|