feat: 베팅 시스템 재 설계, 이벤트 테이블 수정 #205

Merged
Hide_D merged 45 commits from ng_bet into devel 2022-02-05 16:43:28 +09:00
Showing only changes of commit d6114132c8 - Show all commits
@@ -230,7 +230,9 @@ class che_피장파장 extends Command\NationCommand
$yearMonth = Util::joinYearMonth($env['year'], $env['month']);
$nationStor->setValue($cmd->getNextExecuteKey(), $yearMonth + $this->getTargetPostReqTurn());
$destNationStor->setValue($cmd->getNextExecuteKey(), $yearMonth + static::$delayCnt);
$destDelay = max($destNationStor->getValue($cmd->getNextExecuteKey()) ?? 0, $yearMonth);
$destNationStor->setValue($cmd->getNextExecuteKey(), $destDelay + static::$delayCnt);
$general->applyDB($db);