From 57b420a11d339610a550a24797de4980c7f4a8d9 Mon Sep 17 00:00:00 2001 From: chengqf <584883665@139.com> Date: Sun, 9 Apr 2023 09:47:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/glxp/api/idc/service/IdcService.java | 1 - .../com/glxp/api/idc/service/impl/IdcServiceImpl.java | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/src/main/java/com/glxp/api/idc/service/IdcService.java b/src/main/java/com/glxp/api/idc/service/IdcService.java index 72c697400..219826c83 100644 --- a/src/main/java/com/glxp/api/idc/service/IdcService.java +++ b/src/main/java/com/glxp/api/idc/service/IdcService.java @@ -31,7 +31,6 @@ public interface IdcService { BaseResponse downlaodSuccess(HttpServletRequest request,Map params); - public void asyncIdcTask(); void asyncUdiTask(); void asyncSpsTask(); diff --git a/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java b/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java index 6f64b4a8f..c908f97fd 100644 --- a/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java +++ b/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java @@ -185,16 +185,6 @@ public class IdcServiceImpl implements IdcService { } } - @Async - @Override - public void asyncIdcTask() { - initTable(); - Map map = dbDao.get("select * from idc_var where code='system_type'"); - if (map == null) { - dbDao.save("insert into idc_var (code,content) values ('system_type','IDC')"); - } - } - private void asyncDataTask(boolean isUpload) { initTable();