Browse Source

修改请求总队数据配置

fuyuchuan 2 months ago
parent
commit
c25831f6c9

+ 4 - 4
service-fire/service-fire-biz/src/main/java/com/usky/fire/service/util/MhScheduledImport.java

@@ -35,8 +35,8 @@ public class MhScheduledImport {
     private static final Logger log = LoggerFactory.getLogger(MhScheduledImport.class);
     private static final Logger log = LoggerFactory.getLogger(MhScheduledImport.class);
 
 
     private static final int PAGE_SIZE = 10000;
     private static final int PAGE_SIZE = 10000;
-    private static final String BUILD_URL = "https://aqpc.shxf-119.com/Warehouse/minhang/getData/buildDataList?";
-    private static final String COMPANY_URL = "https://aqpc.shxf-119.com/Warehouse/minhang/getData/companyDataList?";
+    private static final String BUILD_URL = "http://10.90.12.78:8085/Warehouse/minhang/getData/buildDataList?";
+    private static final String COMPANY_URL = "http://10.90.12.78:8085/Warehouse/minhang/getData/companyDataList?";
     private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
     private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
     @Autowired
     @Autowired
     private MhCompanyMapper mhCompanyMapper;
     private MhCompanyMapper mhCompanyMapper;
@@ -47,9 +47,9 @@ public class MhScheduledImport {
     // @Scheduled(fixedRate = 86400000)
     // @Scheduled(fixedRate = 86400000)
     // 24小时执行一次
     // 24小时执行一次
 
 
-    @Scheduled(cron = "0 0 8,20 * * ?")
+    //@Scheduled(cron = "0 0 8,20 * * ?")
     // 8点、20点执行一次
     // 8点、20点执行一次
-    //@Scheduled(fixedRate = 40000)
+    @Scheduled(fixedRate = 40000)
     //@Scheduled(cron = "0 7 10 * * ?")
     //@Scheduled(cron = "0 7 10 * * ?")
     public void executeTask() {
     public void executeTask() {
         log.info("定时任务开始执行: " + new java.util.Date());
         log.info("定时任务开始执行: " + new java.util.Date());