|
@@ -60,11 +60,11 @@ public class TsbGoodsTask {
|
|
|
*
|
|
*
|
|
|
* @throws Exception
|
|
* @throws Exception
|
|
|
*/
|
|
*/
|
|
|
- @Scheduled(cron = "${cron.goods.goodsTnmJob}")
|
|
|
|
|
|
|
+ @Scheduled(cron = "${cron.goods.titlename.reserve}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
@Async
|
|
|
public void tsbGoodsTnmJob() throws Exception {
|
|
public void tsbGoodsTnmJob() throws Exception {
|
|
|
- goodsTnmJob.run("상품 타이틀예약 적용");
|
|
|
|
|
|
|
+ goodsTnmJob.runById("cron.goods.titlename.reserve");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -72,11 +72,11 @@ public class TsbGoodsTask {
|
|
|
*
|
|
*
|
|
|
* @throws Exception
|
|
* @throws Exception
|
|
|
*/
|
|
*/
|
|
|
- @Scheduled(cron = "${cron.goods.goodsPriceJob}")
|
|
|
|
|
|
|
+ @Scheduled(cron = "${cron.goods.price.reserve}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
@Async
|
|
|
public void tsbGoodsPriceJob() throws Exception {
|
|
public void tsbGoodsPriceJob() throws Exception {
|
|
|
- goodsPriceJob.run("상품 가격예약 적용");
|
|
|
|
|
|
|
+ goodsPriceJob.runById("cron.goods.price.reserve");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -84,11 +84,11 @@ public class TsbGoodsTask {
|
|
|
*
|
|
*
|
|
|
* @throws Exception
|
|
* @throws Exception
|
|
|
*/
|
|
*/
|
|
|
- @Scheduled(cron = "${cron.goods.goodsSnmJob}")
|
|
|
|
|
|
|
+ @Scheduled(cron = "${cron.goods.search.keyword}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
@Async
|
|
|
public void tsbGoodsSnmJob() throws Exception {
|
|
public void tsbGoodsSnmJob() throws Exception {
|
|
|
- goodsSnmJob.run("상품 검색어 적용");
|
|
|
|
|
|
|
+ goodsSnmJob.runById("cron.goods.search.keyword");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -98,10 +98,10 @@ public class TsbGoodsTask {
|
|
|
* @author eskim
|
|
* @author eskim
|
|
|
* @since 2020. 12. 02.
|
|
* @since 2020. 12. 02.
|
|
|
*/
|
|
*/
|
|
|
- @Scheduled(cron = "${cron.goods.goodsBenefitPriceJob}")
|
|
|
|
|
- @Scheduled(fixedDelay = 3500000)
|
|
|
|
|
|
|
+ @Scheduled(cron = "${cron.goods.benefit.price}")
|
|
|
|
|
+ //@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
@Async
|
|
|
public void tsbGoodsBenefitPriceJob() throws Exception {
|
|
public void tsbGoodsBenefitPriceJob() throws Exception {
|
|
|
- goodsBenefitPriceJob.run("상품 즉시할인가 생성");
|
|
|
|
|
|
|
+ goodsBenefitPriceJob.runById("cron.goods.benefit.price");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|