修改报错
parent
4e1f6aadc5
commit
e51ea13114
|
@ -19,9 +19,9 @@ public class AccreditServiceImpl implements AccreditService{
|
||||||
@Override
|
@Override
|
||||||
public Accredit findAccredit(Long tableId) {
|
public Accredit findAccredit(Long tableId) {
|
||||||
Accredit accredit = accreditMapper.findAccredit(tableId);
|
Accredit accredit = accreditMapper.findAccredit(tableId);
|
||||||
if(accredit==null){
|
// if(accredit==null){
|
||||||
return accreditMapper.findAccreditBasic(tableId);
|
// return accreditMapper.findAccreditBasic(tableId);
|
||||||
}
|
// }
|
||||||
return accredit;
|
return accredit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -125,6 +125,7 @@ public class SourceServiceImpl extends ServiceImpl<SourceMapper, Source> impleme
|
||||||
Connection conn = null;
|
Connection conn = null;
|
||||||
try {
|
try {
|
||||||
conn = DriverManager.getConnection(url, user, password);
|
conn = DriverManager.getConnection(url, user, password);
|
||||||
|
|
||||||
System.out.println("Connected to the MySQL server successfully.");
|
System.out.println("Connected to the MySQL server successfully.");
|
||||||
|
|
||||||
TableInfo tableInfoInsert = TableInfo.builder()
|
TableInfo tableInfoInsert = TableInfo.builder()
|
||||||
|
|
Loading…
Reference in New Issue