<?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"><mappernamespace="cn.bugstack.xfg.frame.dao.IUserDao"><resultMapid="userMap"type="cn.bugstack.xfg.frame.domain.po.User"><resultcolumn="id"property="id"/><resultcolumn="user_id"property="userId"/><resultcolumn="user_nickname"property="userNickname"/><resultcolumn="user_head"property="userHead"/><resultcolumn="user_password"property="userPassword"/><resultcolumn="create_time"property="createTime"/><resultcolumn="update_time"property="updateTime"/></resultMap><selectid="queryUserList"parameterType="cn.bugstack.xfg.frame.domain.po.User"resultMap="userMap"> SELECT id, user_id, user_nickname, user_head, user_password, create_time, update_time FROM user ORDER BY ID DESC LIMIT 10</select></mapper>