From ace787d4728510496d362da7ac1e8024e865aae9 Mon Sep 17 00:00:00 2001 From: huangfeng Date: Thu, 10 Oct 2024 10:55:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/xydl/cac/service/impl/IcdFileConfigServiceImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/xydl/cac/service/impl/IcdFileConfigServiceImpl.java b/src/main/java/com/xydl/cac/service/impl/IcdFileConfigServiceImpl.java index e4bb6e8..d21c2b3 100644 --- a/src/main/java/com/xydl/cac/service/impl/IcdFileConfigServiceImpl.java +++ b/src/main/java/com/xydl/cac/service/impl/IcdFileConfigServiceImpl.java @@ -4,6 +4,7 @@ import com.xydl.cac.entity.*; import com.xydl.cac.exception.BusinessException; import com.xydl.cac.model.IcdAttUpdateModel; import com.xydl.cac.repository.*; +import com.xydl.cac.service.DataService; import com.xydl.cac.service.IcdFileConfigService; import com.xydl.cac.util.IcdXmlUtil; import com.xydl.cac.util.Md5; @@ -36,6 +37,8 @@ public class IcdFileConfigServiceImpl implements IcdFileConfigService { private JdbcTemplate jdbcTemplate; @Resource RptparamindexRepository rptparamindexRepository; + @Resource + DataService dataService; @Override public void upload(String xml) throws Exception { @@ -166,6 +169,7 @@ public class IcdFileConfigServiceImpl implements IcdFileConfigService { @Override public void clearAll() { + dataService.clearAllBind(); instRepository.deleteAll(); attRepository.deleteAll(); configRepository.deleteAll();