org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 2;

org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 2; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 2

返回值与返回类型不匹配,这里return2个值 但是返回类型只有一个

 

posted @ 2023-07-27 16:25  E-青稞  阅读(230)  评论(0)    收藏  举报