...
|
...
|
@@ -18,7 +18,6 @@ import org.apache.commons.collections.CollectionUtils; |
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.HashMap;
|
...
|
...
|
@@ -45,7 +44,7 @@ public class ProductCollageInfoJob { |
|
|
/**
|
|
|
* 每分钟执行一次,每次找出5分钟内即将生效的活动
|
|
|
*/
|
|
|
@Scheduled(cron = "30 0/1 * * * ?")
|
|
|
//@Scheduled(cron = "30 0/1 * * * ?")
|
|
|
public void updateCollagePrice() {
|
|
|
try {
|
|
|
logger.info("ProductCollageInfoJob begin ...");
|
...
|
...
|
|