|
@@ -22,7 +22,6 @@ import org.springframework.amqp.rabbit.connection.CorrelationData;
|
|
|
import org.springframework.amqp.rabbit.core.RabbitTemplate;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Qualifier;
|
|
|
-import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.*;
|
|
@@ -61,12 +60,12 @@ public class SmJob {
|
|
|
@Autowired
|
|
|
private MsgLogService msgLogService;
|
|
|
|
|
|
- @Scheduled(cron = "0 0 0 */1 * ?")
|
|
|
+// @Scheduled(cron = "0 0 0 */1 * ?")
|
|
|
public void personExecute() {
|
|
|
personApi(null);
|
|
|
log.info("smJob-person 定时任务完成");
|
|
|
}
|
|
|
- @Scheduled(cron = "0 0 0 */1 * ?")
|
|
|
+// @Scheduled(cron = "0 0 0 */1 * ?")
|
|
|
public void groupExecute() {
|
|
|
groupApi(null);
|
|
|
log.info("smJob-group 定时任务完成");
|