zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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>