TASK:mixi;
This commit is contained in:
@@ -316,7 +316,7 @@ public class MiTuExportScheduledTask {
|
|||||||
* Customer purchase report
|
* Customer purchase report
|
||||||
*/
|
*/
|
||||||
@Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000))
|
@Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000))
|
||||||
@Scheduled(cron = "0 0 23 L * * ")
|
@Scheduled(cron = "0 0 23 L * ? *")
|
||||||
public void customerPurchaseReport() {
|
public void customerPurchaseReport() {
|
||||||
MiTuExport miTuExport = createMiTuExport("Customer purchase report", "month");
|
MiTuExport miTuExport = createMiTuExport("Customer purchase report", "month");
|
||||||
try {
|
try {
|
||||||
@@ -417,7 +417,7 @@ public class MiTuExportScheduledTask {
|
|||||||
* New Join VIP report
|
* New Join VIP report
|
||||||
*/
|
*/
|
||||||
@Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000))
|
@Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000))
|
||||||
@Scheduled(cron = "0 0 23 ? * SUN")
|
@Scheduled(cron = "0 0 23 ? * 7")
|
||||||
public void NewJoinVIPReport() {
|
public void NewJoinVIPReport() {
|
||||||
MiTuExport miTuExport = createMiTuExport("New join vip report", "week");
|
MiTuExport miTuExport = createMiTuExport("New join vip report", "week");
|
||||||
try {
|
try {
|
||||||
@@ -493,7 +493,7 @@ public class MiTuExportScheduledTask {
|
|||||||
* Weekly Sell Through Report
|
* Weekly Sell Through Report
|
||||||
*/
|
*/
|
||||||
@Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000))
|
@Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000))
|
||||||
@Scheduled(cron = "0 0 23 ? * SUN")
|
@Scheduled(cron = "0 0 23 ? * 7")
|
||||||
public void weeklySellThrReport() {
|
public void weeklySellThrReport() {
|
||||||
MiTuExport miTuExport = createMiTuExport("Weekly sell thr report", "week");
|
MiTuExport miTuExport = createMiTuExport("Weekly sell thr report", "week");
|
||||||
try {
|
try {
|
||||||
@@ -594,7 +594,7 @@ public class MiTuExportScheduledTask {
|
|||||||
* WeeklyHeavyStockReport
|
* WeeklyHeavyStockReport
|
||||||
*/
|
*/
|
||||||
@Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000))
|
@Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000))
|
||||||
@Scheduled(cron = "0 0 23 ? * SUN")
|
@Scheduled(cron = "0 0 23 ? * 7")
|
||||||
public void WeeklyHeavyStockReport() {
|
public void WeeklyHeavyStockReport() {
|
||||||
MiTuExport miTuExport = createMiTuExport("Weekly heavy stock report", "week");
|
MiTuExport miTuExport = createMiTuExport("Weekly heavy stock report", "week");
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user