注释过期listener

This commit is contained in:
2025-06-24 14:37:43 +08:00
parent be93e513fd
commit 0d0d9c8358
4 changed files with 4 additions and 15 deletions

View File

@@ -1,22 +1,15 @@
package com.accompany.scheduler.ramadan;
import cn.hutool.core.date.DateUtil;
import com.accompany.business.qixi.service.QixiRankService;
import com.accompany.business.ramadan.service.RamadanGiftSendService;
import com.accompany.business.service.activity.h5.ActivityRankRuleService;
import com.accompany.core.enumeration.PartitionEnum;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import static com.accompany.business.constant.activity.ActivityType.RAMADAN_GIFT_SEND_GOLD_POOL;
@Component
//@Component
@Slf4j
public class RamadanGiftSendTask {

View File

@@ -18,7 +18,6 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import javax.validation.constraints.NotNull;
import java.util.Date;
@@ -30,7 +29,7 @@ import java.util.List;
* @description:
*/
@Slf4j
@Component
//@Component
public class ActTaskListener implements ApplicationListener<GiftMessageEvent> {
@Autowired

View File

@@ -8,10 +8,9 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
@Slf4j
@Component
//@Component
public class RamadanGiftSendListener implements ApplicationListener<GiftMessageEvent> {
@Autowired

View File

@@ -1,16 +1,14 @@
package com.accompany.business.ramadan.listen;
import com.accompany.business.ramadan.dto.RamadanQuestionConfigDto;
import com.accompany.business.ramadan.event.RamadanQuestionAnswerEvent;
import com.accompany.business.ramadan.service.RamadanQuestionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
@Slf4j
@Component
//@Component
public class RamadanQuestionListener implements ApplicationListener<RamadanQuestionAnswerEvent> {
@Autowired