修改方法
parent
95a0b84fa0
commit
d494452a15
|
@ -5,3 +5,4 @@ import com.muyu.domain.Source;
|
||||||
public interface SourceConfig {
|
public interface SourceConfig {
|
||||||
public Source findSourceById(Long id);
|
public Source findSourceById(Long id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -430,4 +430,5 @@ public class MySqlDataSource extends BaseDataAbsSource {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,6 @@ package com.muyu.data.base;
|
||||||
|
|
||||||
public abstract class BaseDataAbsSource implements BaseDataSource{
|
public abstract class BaseDataAbsSource implements BaseDataSource{
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setQuery(BaseQuery baseQuery){
|
public void setQuery(BaseQuery baseQuery){
|
||||||
BaseQueryHandler.set(baseQuery);
|
BaseQueryHandler.set(baseQuery);
|
||||||
|
|
|
@ -13,3 +13,4 @@ import lombok.experimental.SuperBuilder;
|
||||||
public class BaseQuery {
|
public class BaseQuery {
|
||||||
private Long dataSourceId;
|
private Long dataSourceId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,3 +16,4 @@ public class BaseQueryHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,6 @@
|
||||||
<!-- </dependency>-->
|
<!-- </dependency>-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- oracle 数据源连接-->
|
<!-- oracle 数据源连接-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.oracle.database.jdbc</groupId>
|
<groupId>com.oracle.database.jdbc</groupId>
|
||||||
|
@ -56,8 +54,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.muyu</groupId>
|
<groupId>com.muyu</groupId>
|
||||||
<artifactId>cloud-etl-common</artifactId>
|
<artifactId>cloud-etl-common</artifactId>
|
||||||
<version>1.0.1</version>
|
<version>1.0.0</version>
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -9,7 +9,6 @@ import com.muyu.domain.rep.AccreditUserRep;
|
||||||
import com.muyu.domain.req.AccreditReq;
|
import com.muyu.domain.req.AccreditReq;
|
||||||
import com.muyu.mysql.MySqlDataSource;
|
import com.muyu.mysql.MySqlDataSource;
|
||||||
import com.muyu.mysql.MySqlQuery;
|
import com.muyu.mysql.MySqlQuery;
|
||||||
import lombok.extern.java.Log;
|
|
||||||
import lombok.extern.log4j.Log4j2;
|
import lombok.extern.log4j.Log4j2;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
@ -76,4 +75,5 @@ public class AccreditController {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue