master
ELF 4 years ago
parent 1f1aea5b1d
commit 24fe97186e

@ -238,7 +238,7 @@ class GameController extends ThinkController
$gameService->saveBaseGame($baseData);
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'] . '))']]);
$subSql = M('promote_company', 'tab_')->field('id')->where(['company_belong' => ['not in', [1, 2]]])->select(false);

Loading…
Cancel
Save