|
@@ -1,7 +1,6 @@
|
|
|
package com.caimei.task;
|
|
|
|
|
|
import com.caimei.service.PayOrderService;
|
|
|
-import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
@@ -24,8 +23,8 @@ public class SplitAccountTask {
|
|
|
/**
|
|
|
* 延时分账,每一小时执行一次
|
|
|
*/
|
|
|
- //@Scheduled(cron = "0 0 * * * ?")
|
|
|
- @Scheduled(cron = "0 */1 * * * ?")
|
|
|
+ @Scheduled(cron = "0 0 * * * ?")
|
|
|
+ //@Scheduled(cron = "0 */1 * * * ?")
|
|
|
public void delayedSplitting() {
|
|
|
payOrderService.delayedSplitting();
|
|
|
}
|