修改报错

master
lwj 2024-09-02 21:15:35 +08:00
parent 4e1f6aadc5
commit e51ea13114
2 changed files with 4 additions and 3 deletions

View File

@ -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;
}

View File

@ -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()