SopTplNodeProtoMapper.xml
3.15 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?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.com.glsx.process.modules.mapper.SopTplNodeProtoMapper">
<resultMap id="BaseResultMap" type="cn.com.glsx.process.modules.entity.SopTplNodeProto">
<!--
WARNING - @mbg.generated
-->
<id column="id" jdbcType="INTEGER" property="id" />
<result column="node_name" jdbcType="VARCHAR" property="nodeName" />
<result column="node_type" jdbcType="VARCHAR" property="nodeType" />
<result column="node_label" jdbcType="VARCHAR" property="nodeLabel" />
<result column="node_show" jdbcType="VARCHAR" property="nodeShow" />
<result column="node_key" jdbcType="VARCHAR" property="nodeKey" />
<result column="node_visible" jdbcType="TINYINT" property="nodeVisible" />
<result column="node_cron" jdbcType="VARCHAR" property="nodeCron" />
<result column="node_expire_cron" jdbcType="VARCHAR" property="nodeExpireCron" />
<result column="node_skipable" jdbcType="TINYINT" property="nodeSkipable" />
<result column="node_async" jdbcType="TINYINT" property="nodeAsync" />
<result column="daily_limit" jdbcType="INTEGER" property="dailyLimit" />
<result column="data_type_code" jdbcType="VARCHAR" property="dataTypeCode" />
<result column="group_code" jdbcType="VARCHAR" property="groupCode" />
<result column="action_code" jdbcType="VARCHAR" property="actionCode" />
<result column="desc" jdbcType="VARCHAR" property="desc" />
<result column="updated_time" jdbcType="TIMESTAMP" property="updatedTime" />
<result column="created_time" jdbcType="TIMESTAMP" property="createdTime" />
</resultMap>
<!-- <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="cn.com.glsx.process.modules.entity.SopTplNodeProtoWithBLOBs">-->
<!-- <!–-->
<!-- WARNING - @mbg.generated-->
<!-- –>-->
<!-- <result column="node_param_def" jdbcType="LONGVARCHAR" property="nodeParamDef" />-->
<!-- <result column="node_content_def" jdbcType="LONGVARCHAR" property="nodeContentDef" />-->
<!-- <result column="node_result_def" jdbcType="LONGVARCHAR" property="nodeResultDef" />-->
<!-- </resultMap>-->
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
-->
id, node_name, node_type, node_label, node_show, node_key, node_visible, node_cron,
node_expire_cron, node_skipable, node_async, daily_limit, data_type_code, group_code,
action_code, `desc`, updated_time, created_time
</sql>
<sql id="Blob_Column_List">
<!--
WARNING - @mbg.generated
-->
node_param_def, node_content_def, node_result_def
</sql>
<select id="list" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from sop_tpl_node_proto
<where>
<if test="dataTypeCode != null and dataTypeCode != ''">
and data_type_code = #{dataTypeCode}
</if>
<if test="groupCode != null and groupCode != ''">
and group_code = #{groupCode}
</if>
<if test="actionCode != null and actionCode != ''">
and action_code = #{actionCode}
</if>
</where>
</select>
</mapper>