mybatis註解Select查詢List,返回有對象個數,可是爲null

用mybatis註解Select查詢List,返回有對象個數,可是爲null,html 代碼以下spring public interface SysRoleMapper { @Select("select * from sys_role ") List<SysRole> selectAll(); } 具體出現緣由,查詢出來的數據,與實體bean的字段不相匹配,致使nulls
相關文章
相關標籤/搜索