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