金币兑换钻石-公会金币结算-周一0点
This commit is contained in:
@@ -211,6 +211,8 @@ public class ClanGoldSettlementService extends ServiceImpl<ClanGoldSettlementRec
|
||||
} catch (Exception e){
|
||||
batchSqlSession.rollback();
|
||||
log.error("[公会金币结算] 扣成员金币发生异常回滚", e);
|
||||
} finally {
|
||||
batchSqlSession.close();
|
||||
}
|
||||
|
||||
//清空结算状态
|
||||
|
@@ -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..........");
|
||||
|
||||
|
Reference in New Issue
Block a user