Skip to content

Commit 495b04e

Browse files
committed
删除无用的依赖
1 parent eb07284 commit 495b04e

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

hsweb-web-service/hsweb-web-service-simple/src/main/java/org/hsweb/web/service/impl/DataBaseAutoConfiguration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import org.hsweb.web.core.datasource.DataSourceHolder;
1818
import org.springframework.beans.factory.annotation.Autowired;
1919
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
20-
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
2120
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
2221
import org.springframework.context.annotation.Bean;
2322
import org.springframework.context.annotation.Configuration;

hsweb-web-service/hsweb-web-service-simple/src/main/java/org/hsweb/web/service/impl/system/DataBaseManagerServiceImpl.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,9 @@
1616
import org.hsweb.ezorm.render.dialect.OracleDatabaseMeta;
1717
import org.hsweb.ezorm.render.support.simple.SimpleSQL;
1818
import org.hsweb.web.core.datasource.DataSourceHolder;
19-
import org.hsweb.web.core.datasource.DynamicDataSource;
20-
import org.hsweb.web.core.exception.BusinessException;
21-
import org.hsweb.web.core.exception.NotFoundException;
22-
import org.hsweb.web.service.datasource.DataSourceService;
23-
import org.hsweb.web.service.impl.DatabaseMetaDataFactoryBean;
2419
import org.hsweb.web.service.system.DataBaseManagerService;
2520
import org.slf4j.Logger;
2621
import org.slf4j.LoggerFactory;
27-
import org.springframework.beans.factory.annotation.Autowired;
28-
import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties;
2922
import org.springframework.stereotype.Service;
3023
import org.springframework.transaction.annotation.Transactional;
3124

@@ -50,12 +43,6 @@ public class DataBaseManagerServiceImpl implements DataBaseManagerService {
5043
@Resource
5144
private SqlExecutor sqlExecutor;
5245

53-
@Resource
54-
private DataSourceService dataSourceService;
55-
56-
@Autowired
57-
private DataSourceProperties dataSourceProperties;
58-
5946
@Override
6047
@Transactional(readOnly = true)
6148
public List<TableMetaData> getTableList() throws SQLException {

0 commit comments

Comments
 (0)