<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.newfiber.api.pc.dao.System.SysUserInfoDao"> <!-- 可根据自己的需求,是否要使用 --> <resultMap type="com.newfiber.api.pc.model.UserManager.SysUserInfo" id="sysUserInfoMap"> <result property="userNo" column="User_No"/> <result property="userName" column="userName"/> </resultMap> <!-- 通用查询结果列 --> <sql id="Base_Column_List"> User_No, userName, password, age, sex, phone_num, </sql> </mapper>