Scenario 세팅 과정에 문제 해결

SetNationFront 함수도 수정
This commit is contained in:
2018-03-31 16:06:24 +09:00
parent 71f5311b1d
commit 31d9bac59c
14 changed files with 65 additions and 76 deletions
+1 -3
View File
@@ -152,13 +152,11 @@ class ChangeCity extends \sammo\Event\Action{
}
public function run($env=null){
$target = $this->target;
$cities = $this->getTargetCities($env);
DB::db()->update('city',
$this->queries
, 'city IN (%li)', $cities);
, 'city IN %li', $cities);
return [__CLASS__, DB::db()->affectedRows()];
}