eason.qian 7 years ago
parent 0763860669
commit 613f04219d

@ -2,6 +2,7 @@ package au.com.royalpay.payment.manage.task;
import au.com.royalpay.payment.manage.application.core.SimpleClientService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@ -11,6 +12,7 @@ import javax.annotation.Resource;
* Created by yishuqian on 12/03/2017.
*/
@Component
@ConditionalOnProperty(value = "app.run-tasks", havingValue = "true")
public class CheckPartnerAuthStatusAndSendMessageTask {
@Resource
private SimpleClientService simpleClientService;

@ -4,6 +4,7 @@ import au.com.royalpay.payment.manage.analysis.core.DailyReport;
import org.apache.commons.lang.time.DateFormatUtils;
import org.apache.commons.lang.time.DateUtils;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@ -15,6 +16,7 @@ import javax.annotation.Resource;
* Created by yixian on 2017-03-07.
*/
@Component
@ConditionalOnProperty(value = "app.run-tasks", havingValue = "true")
public class DailyReportGenerationTask {
@Resource

@ -3,6 +3,7 @@ package au.com.royalpay.payment.manage.task;
import au.com.royalpay.payment.manage.analysis.core.DashboardService;
import org.apache.commons.lang.time.DateUtils;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@ -14,6 +15,7 @@ import javax.annotation.Resource;
* Created by yixian on 2016-11-14.
*/
@Component
@ConditionalOnProperty(value = "app.run-tasks", havingValue = "true")
public class DashboardTaskManager {
@Resource
private DashboardService dashboardService;

@ -3,6 +3,7 @@ package au.com.royalpay.payment.manage.task;
import au.com.royalpay.payment.manage.analysis.core.CustomersAnalysisService;
import org.apache.commons.lang.time.DateUtils;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@ -14,6 +15,7 @@ import javax.annotation.Resource;
* Created by yixian on 2016-11-14.
*/
@Component
@ConditionalOnProperty(value = "app.run-tasks", havingValue = "true")
public class PartnerTransactionsDailyMsgTaskManager {
@Resource
private CustomersAnalysisService customersAnalysisService;

@ -15,6 +15,7 @@ import javax.annotation.Resource;
* Created by yishuqian on 01/02/2017.
*/
@Component
@ConditionalOnProperty(value = "app.run-tasks", havingValue = "true")
public class RedPackTaskManager {
private Logger logger = LoggerFactory.getLogger(getClass());

Loading…
Cancel
Save