Skip to content

Commit

Permalink
fix claim task checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomlove committed Jul 9, 2024
1 parent ee18528 commit bb97f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Repositories/ExamRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ public function cronjobCheckout($ignoreTimeRange = false): int
if (!empty($userBonusUpdate)) {
$uidStr = implode(', ', $uidToUpdateBonus);
$sql = sprintf(
"update %s set seedbonus = case %s, bonuscomment = case %s end where id in (%s)",
"update %s set seedbonus = case %s end, bonuscomment = case %s end where id in (%s)",
$userTable, implode(' ', $userBonusUpdate), implode(' ', $userBonusCommentUpdate), $uidStr
);
$updateResult = DB::update($sql);
Expand Down

0 comments on commit bb97f43

Please sign in to comment.