金币兑换钻石-公会金币结算-周一0点

This commit is contained in:
2022-11-28 12:14:57 +08:00
parent 4355995c3d
commit 52f8f01a68
2 changed files with 4 additions and 2 deletions

View File

@@ -211,6 +211,8 @@ public class ClanGoldSettlementService extends ServiceImpl<ClanGoldSettlementRec
} catch (Exception e){
batchSqlSession.rollback();
log.error("[公会金币结算] 扣成员金币发生异常回滚", e);
} finally {
batchSqlSession.close();
}
//清空结算状态

View File

@@ -15,9 +15,9 @@ public class ClanGoldSettlementTask extends BaseTask {
/**
* 公会金币结算
* 周一凌晨3
* 周一凌晨0
* */
@Scheduled(cron = "0 0 3 ? * MON")
@Scheduled(cron = "0 0 0 ? * MON")
public void clanGoldSettlement() throws InterruptedException {
log.info("clanGoldSettlement() start..........");