xm
2024-06-14 722af26bc6fec32bb289b1df51a9016a4935610f
提交 | 用户 | 时间
722af2 1 <?xml version="1.0" encoding="UTF-8" ?>
X 2 <!DOCTYPE mapper
3 PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 <mapper namespace="com.dl.demo.mapper.TestDemoMapper">
6
7     <resultMap type="com.dl.demo.domain.TestDemo" id="TestDemoResult">
8         <result property="id" column="id"/>
9         <result property="deptId" column="dept_id"/>
10         <result property="userId" column="user_id"/>
11         <result property="orderNum" column="order_num"/>
12         <result property="testKey" column="test_key"/>
13         <result property="value" column="value"/>
14         <result property="version" column="version"/>
15         <result property="createTime" column="create_time"/>
16         <result property="createBy" column="create_by"/>
17         <result property="updateTime" column="update_time"/>
18         <result property="updateBy" column="update_by"/>
19         <result property="delFlag" column="del_flag"/>
20     </resultMap>
21     <select id="customPageList" resultType="com.dl.demo.domain.vo.TestDemoVo">
22         SELECT * FROM test_demo ${ew.customSqlSegment}
23     </select>
24
25
26 </mapper>