|
@@ -457,14 +457,14 @@ class VerifyApi {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if ($process == 5) {
|
|
if ($process == 5) {
|
|
- $whereRaw = sprintf("(tl.state in (14,15,16)) or (tl.state=12 and ti.pass_dept_check=0) or (tl.state=10 and ti.pass_dept_check=1) or (tl.state=10 and (tc.companyIds is null or tc.companyIds = ''))");
|
|
|
|
|
|
+ $whereRaw = sprintf("(tl.state in (-14,14,15,16)) or (tl.state=12 and ti.pass_dept_check=0) or (tl.state=10 and ti.pass_dept_check=1) or (tl.state=10 and (tc.companyIds is null or tc.companyIds = ''))");
|
|
switch ($params["checkState"]) {
|
|
switch ($params["checkState"]) {
|
|
case 1://待复审(首次提交)
|
|
case 1://待复审(首次提交)
|
|
- $where[] = ["tl.state", "in", [TalentState::FST_VERIFY_PASS, TalentState::DEPT_VERIFY_PASS]];
|
|
|
|
|
|
+ $where[] = ["tl.state", "in", [TalentState::REVERIFY_CANCEL, TalentState::FST_VERIFY_PASS, TalentState::DEPT_VERIFY_PASS]];
|
|
$where[] = ["tl2.resubmit", "EXP", Db::raw("is null")];
|
|
$where[] = ["tl2.resubmit", "EXP", Db::raw("is null")];
|
|
break;
|
|
break;
|
|
case 2://待复审(重新提交)
|
|
case 2://待复审(重新提交)
|
|
- $where[] = ["tl.state", "in", [TalentState::FST_VERIFY_PASS, TalentState::DEPT_VERIFY_PASS]];
|
|
|
|
|
|
+ $where[] = ["tl.state", "in", [TalentState::REVERIFY_CANCEL, TalentState::FST_VERIFY_PASS, TalentState::DEPT_VERIFY_PASS]];
|
|
$where[] = ["tl2.resubmit", "EXP", Db::raw("is not null")];
|
|
$where[] = ["tl2.resubmit", "EXP", Db::raw("is not null")];
|
|
break;
|
|
break;
|
|
case 3://复审通过
|
|
case 3://复审通过
|
|
@@ -478,7 +478,7 @@ class VerifyApi {
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|
|
if ($type == 2) {
|
|
if ($type == 2) {
|
|
- $where[] = ["tl.state", "in", [TalentState::FST_VERIFY_PASS, TalentState::DEPT_VERIFY_PASS]];
|
|
|
|
|
|
+ $where[] = ["tl.state", "in", [TalentState::REVERIFY_CANCEL, TalentState::FST_VERIFY_PASS, TalentState::DEPT_VERIFY_PASS]];
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
@@ -869,14 +869,14 @@ class VerifyApi {
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
case 5:
|
|
case 5:
|
|
- $whereRaw = sprintf("(tl.state in (14,15,16)) or (tl.state=12 and ti.pass_dept_check=0) or (tl.state=10 and ti.pass_dept_check=1) or (tl.state=10 and (tc.companyIds is null or tc.companyIds = ''))");
|
|
|
|
|
|
+ $whereRaw = sprintf("(tl.state in (-14,14,15,16)) or (tl.state=12 and ti.pass_dept_check=0) or (tl.state=10 and ti.pass_dept_check=1) or (tl.state=10 and (tc.companyIds is null or tc.companyIds = ''))");
|
|
switch ($params["checkState"]) {
|
|
switch ($params["checkState"]) {
|
|
case 1://待复审(首次提交)
|
|
case 1://待复审(首次提交)
|
|
- $where[] = ["tl.state", "in", [TalentState::FST_VERIFY_PASS, TalentState::DEPT_VERIFY_PASS]];
|
|
|
|
|
|
+ $where[] = ["tl.state", "in", [TalentState::REVERIFY_CANCEL, TalentState::FST_VERIFY_PASS, TalentState::DEPT_VERIFY_PASS]];
|
|
$where[] = ["tl2.resubmit", "EXP", Db::raw("is null")];
|
|
$where[] = ["tl2.resubmit", "EXP", Db::raw("is null")];
|
|
break;
|
|
break;
|
|
case 2://待复审(重新提交)
|
|
case 2://待复审(重新提交)
|
|
- $where[] = ["tl.state", "in", [TalentState::FST_VERIFY_PASS, TalentState::DEPT_VERIFY_PASS]];
|
|
|
|
|
|
+ $where[] = ["tl.state", "in", [TalentState::REVERIFY_CANCEL, TalentState::FST_VERIFY_PASS, TalentState::DEPT_VERIFY_PASS]];
|
|
$where[] = ["tl2.resubmit", "EXP", Db::raw("is not null")];
|
|
$where[] = ["tl2.resubmit", "EXP", Db::raw("is not null")];
|
|
break;
|
|
break;
|
|
case 3://复审通过
|
|
case 3://复审通过
|