yujian
2019-05-15 72f99531c8575c5621bb6067939b8b73807ab22f
fanli/src/main/java/com/yeshi/fanli/job/DynamicInfoJob.java
@@ -129,9 +129,9 @@
   @Scheduled(cron = "0 0/30 17,18,19,20 * * ? ")
   public void insetShopInfo4() {
      
//      if (!Constant.IS_TASK) {
//         return;
//      }
      if (!Constant.IS_TASK) {
         return;
      }
      
      try {
         dynamicInfoService.insertShopInfo();
@@ -154,7 +154,7 @@
//      if (!Constant.IS_TASK) {
//         return;
//      }
//
      try {
         dynamicInfoService.removeByDate(DateUtil.reduceDay(3, new Date()));
      } catch (Exception e) {
@@ -176,7 +176,7 @@
//      if (!Constant.IS_TASK) {
//         return;
//      }
//
      try {
         List<RecommendActivity> list = activityService.getNeedPublish();
         if (list == null || list.size() == 0) {