09070925:使用二维数组的方法给任务模块提供查询的接口
parent
1fabb29c97
commit
dc4f81d583
|
@ -9,6 +9,7 @@ import com.muyu.source.pool.MysqlPool;
|
|||
import com.muyu.source.service.DataSourceService;
|
||||
import lombok.Data;
|
||||
import lombok.extern.log4j.Log4j2;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.sql.*;
|
||||
|
@ -27,7 +28,9 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||
@Log4j2
|
||||
@Component
|
||||
public class MysqlDataSource extends BaseDataAbsSource {
|
||||
DataSourceService dataSourceService = SpringUtils.getBean(DataSourceService.class);
|
||||
// DataSourceService dataSourceService = SpringUtils.getBean(DataSourceService.class);
|
||||
@Autowired
|
||||
private DataSourceService dataSourceService;
|
||||
|
||||
@Override
|
||||
public DataValue getDataValue() {
|
||||
|
|
Loading…
Reference in New Issue