랜임 실패시 실행 턴. 요양 -> 인탐

This commit is contained in:
2021-09-16 21:24:52 +09:00
parent af0b10db40
commit a437675781
@@ -36,7 +36,7 @@ class che_랜덤임관 extends Command\GeneralCommand
/*if($this->arg === null){ /*if($this->arg === null){
return true; return true;
} }
$destNationIDList = $this->arg['destNationIDList']??null; $destNationIDList = $this->arg['destNationIDList']??null;
//null은 에러, []는 정상 //null은 에러, []는 정상
@@ -56,8 +56,8 @@ class che_랜덤임관 extends Command\GeneralCommand
} }
$this->arg = [ $this->arg = [
'destNationIDList' => $destNationIDList 'destNationIDList' => $destNationIDList
]; ];
return true;*/ return true;*/
} }
@@ -234,7 +234,7 @@ class che_랜덤임관 extends Command\GeneralCommand
if (!$destNation) { if (!$destNation) {
//임관 가능한 국가가 없다! //임관 가능한 국가가 없다!
$logger->pushGeneralActionLog("임관 가능한 국가가 없습니다. <1>$date</>"); $logger->pushGeneralActionLog("임관 가능한 국가가 없습니다. <1>$date</>");
$this->alternative = new che_요양($general, $this->env, null); $this->alternative = new che_인재탐색($general, $this->env, null);
return false; return false;
} }