Commit 9f62a7ce authored by shiyu's avatar shiyu

根据标签查询,排除复制转拍卖的商品3

parent f05e35e0
......@@ -86,8 +86,7 @@ public class SpecialPerformanceNoticeJob {
/**
* 隔10分钟运行一次
*/
// @Scheduled(fixedDelay = 1000 * 60 * 10)
@Scheduled(fixedDelay = 1000 * 60)
@Scheduled(fixedDelay = 1000 * 60 * 10)
public void execute() {
RLock lock = redissonClient.getLock(SPECIAL_PERFORMANCE_SEND_MSG_KEY);
......@@ -119,10 +118,10 @@ public class SpecialPerformanceNoticeJob {
return;
}
//正式环境测试, 不发送消息
if (true) {
/* if (true) {
logger.info(">>>>>>>>>>>>>>>>>>>>>>> 正式环境测试, 不执行专场即将开始通知任务<<<<<<<<<<<<<<<<<<<<<");
return;
}
}*/
logger.info("当前即将开始的专场id:{}, 名称为 {} ", specialPerformance.getId(), specialPerformance.getTitle());
//发送短信通知
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment