注解开发中的@Results注解使用
package com.hope.dao;import com.hope.domain.User;import com.sun.xml.internal.bind.v2.model.core.ID;import org.apache.ibatis.annotations.*;import java.util.List;/** * @author newcityman * @date 2019/11/15 - 22:59 */public interface IUserDao { /** * 查询所有用户的信息 * @return */ @Select(value = "select * from user") @Results(id = "userMap",value = { @Result(id = true,column ="id" ,property ="userId" ), @Result(column = "username" ,property = "userName"), @Result(column = "sex",property = "userSex"), @Result(column = "address",property = "userAddress"), @Result(column = "birthday",property =