|
@@ -1575,6 +1575,7 @@ class Talent extends EnterpriseController {
|
|
|
if ($type == ProjectState::QUIT) {
|
|
|
$_where = [];
|
|
|
$_where[] = ["checkState", "not in", [3]];
|
|
|
+ $_where[] = ["delete", "<>", 1];
|
|
|
$idCards = Db::table("un_talent_quit")->where($_where)->column("idCard");
|
|
|
$sList = array_merge($sList, (array) $idCards);
|
|
|
$where[] = ["active", "=", 1];
|
|
@@ -1582,6 +1583,7 @@ class Talent extends EnterpriseController {
|
|
|
if ($type == ProjectState::BANKCHANGE) {
|
|
|
$_where = [];
|
|
|
$_where[] = ["checkState", "not in", [3]];
|
|
|
+ $_where[] = ["delete", "<>", 1];
|
|
|
$idCards = Db::table("un_talent_bank_change")->where($_where)->column("idCard");
|
|
|
$sList = array_merge($sList, (array) $idCards);
|
|
|
}
|
|
@@ -1589,6 +1591,7 @@ class Talent extends EnterpriseController {
|
|
|
$_where = [];
|
|
|
$_where[] = ["checkState", "not in", [35, -1]];
|
|
|
$_where[] = ["isPublic", "<", 5];
|
|
|
+ $_where[] = ["delete", "<>", 1];
|
|
|
$idCards = Db::table("un_talent_type_change")->where($_where)->column("idCard");
|
|
|
$sList = array_merge($sList, (array) $idCards);
|
|
|
}
|