BpmShowRecordMapper.xml
1.81 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
42
43
44
45
46
47
48
49
50
51
52
<?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.runtime.dao.BpmShowRecordDao">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.hotent.runtime.model.BpmShowRecord">
<id column="id_" property="id" />
<result column="account_" property="account" />
<result column="full_name_" property="fullName" />
<result column="show_time_" property="showTime" />
<result column="task_id_" property="taskId" />
<result column="show_type_" property="showType" />
<result column="action_" property="action" />
<result column="reasons_" property="reasons" />
<result column="create_by_" property="createBy" />
<result column="create_time_" property="createTime" />
<result column="create_org_id_" property="createOrgId" />
<result column="update_by_" property="updateBy" />
<result column="update_time_" property="updateTime" />
<result column="tenant_id_" property="tenantId" />
</resultMap>
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
id_, account_, full_name_, show_time_, task_id_, show_type_, action_, reasons_, create_by_, create_time_, create_org_id_, update_by_, update_time_, tenant_id_
</sql>
<select id="selectPage" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from
bpm_show_record
${ew.customSqlSegment}
</select>
<select id="selectList" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from
bpm_show_record
${ew.customSqlSegment}
</select>
<select id="selectById" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from
bpm_show_record
where
id_ = #{id}
</select>
</mapper>