<?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.framework.twm.mapper.StudentMapper"> <sql id="columns"> a.id AS "id", a.create_time AS "createTime", a.create_user AS "createUser", a.update_time AS "updateTime", a.update_user AS "updateUser" </sql> <select id="findList" resultType="com.framework.twm.entity.Student"> SELECT * FROM student </select> </mapper>