} catch (EmptyResultDataAccessException e) {
log.info(">>>检测到有无记录>>>>");
return null;
}catch (IncorrectResultSetColumnCountException e){
log.info(">>>检测到有多条记录>>>>");
return null;
}
转载于:https://www.cnblogs.com/rhxuza1993/p/7723534.html
} catch (EmptyResultDataAccessException e) {
log.info(">>>检测到有无记录>>>>");
return null;
}catch (IncorrectResultSetColumnCountException e){
log.info(">>>检测到有多条记录>>>>");
return null;
}
转载于:https://www.cnblogs.com/rhxuza1993/p/7723534.html