<?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="cn.autoform.fw.mapper.TestMapper" >
|
|
<select id="queryAll" resultType="cn.autoform.bean.User">
|
select * from user limit 5
|
</select>
|
|
<select id="queryAllActor" resultType="cn.autoform.bean.Actor">
|
select * from actor limit 5
|
</select>
|
|
<select id="queryAllTenant" resultType="cn.autoform.bean.Tenant">
|
select tenantid,tenantname from tenant order by tenantid
|
</select>
|
</mapper>
|