|
|
@ -238,7 +238,7 @@ class GameController extends ThinkController
|
|
|
|
$gameService->saveBaseGame($baseData);
|
|
|
|
$gameService->saveBaseGame($baseData);
|
|
|
|
|
|
|
|
|
|
|
|
M('promote_company', 'tab_')
|
|
|
|
M('promote_company', 'tab_')
|
|
|
|
->where('1=1')
|
|
|
|
->where(['company_belong' => ['not in', [1, 2]]])
|
|
|
|
->save(['game_ids' => ['exp', 'trim(BOTH "," FROM concat(game_ids, ",", ' . $res['relation_game_id'] . '))']]);
|
|
|
|
->save(['game_ids' => ['exp', 'trim(BOTH "," FROM concat(game_ids, ",", ' . $res['relation_game_id'] . '))']]);
|
|
|
|
|
|
|
|
|
|
|
|
$subSql = M('promote_company', 'tab_')->field('id')->where(['company_belong' => ['not in', [1, 2]]])->select(false);
|
|
|
|
$subSql = M('promote_company', 'tab_')->field('id')->where(['company_belong' => ['not in', [1, 2]]])->select(false);
|
|
|
|