PortalUserLayoutConfigMapper.xml
1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?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.hotent.portal.persistence.dao.PortalUserLayoutConfigDao">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.hotent.portal.model.PortalUserLayoutConfig">
<result column="ID_" property="id" />
<result column="LAYOUT_ID_" property="layoutId" />
<result column="CONFIG_CONTENT_" property="configContent" />
<result column="CREATOR_" property="creator" />
</resultMap>
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
ID_, LAYOUT_ID_, CONFIG_CONTENT_, CREATOR_
</sql>
<select id="selectPage" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from
portal_user_layout_config
${ew.customSqlSegment}
</select>
<select id="selectList" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from
portal_user_layout_config
${ew.customSqlSegment}
</select>
<select id="selectById" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from
portal_user_layout_config
where
</select>
</mapper>