mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-04 19:29:59 +08:00
gold_readbag and russian
This commit is contained in:
@@ -48,7 +48,7 @@ class GroupRemind(db.Model):
|
||||
try:
|
||||
group = await cls.query.where(
|
||||
(cls.group_id == group_id)
|
||||
).gino.first()
|
||||
).with_for_update().gino.first()
|
||||
if not group:
|
||||
group = await cls.create(
|
||||
group_id=group_id,
|
||||
|
||||
Reference in New Issue
Block a user