提交 | 用户 | 时间
|
487b2f
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
YY |
2 |
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|
3 |
<mapper namespace="cn.stylefeng.guns.opcua.mapper.OpcuaConfMapper"> |
|
4 |
|
|
5 |
<!-- 通用查询映射结果 --> |
|
6 |
<resultMap id="BaseResultMap" type="cn.stylefeng.guns.opcua.entity.OpcuaConf"> |
|
7 |
<id column="id" property="id" /> |
|
8 |
<result column="module" property="module" /> |
|
9 |
<result column="node" property="node" /> |
|
10 |
<result column="length" property="length" /> |
|
11 |
<result column="sys_types" property="sys_types" /> |
|
12 |
<result column="functionality" property="functionality" /> |
|
13 |
<result column="subscribe" property="subscribe" /> |
|
14 |
<result column="r_module" property="rModule" /> |
|
15 |
<result column="r_function" property="rFunction" /> |
|
16 |
<result column="remarks" property="remarks" /> |
|
17 |
</resultMap> |
|
18 |
|
|
19 |
<!-- 通用查询结果列 --> |
|
20 |
<sql id="Base_Column_List"> |
|
21 |
id AS "id", module AS "module", node AS "node", length AS "length",sys_types AS "sys_types",functionality AS "functionality", subscribe AS "subscribe", r_module AS "rModule", r_function AS "rFunction", remarks AS "remarks" |
|
22 |
</sql> |
|
23 |
|
|
24 |
|
|
25 |
<select id="customList" resultType="cn.stylefeng.guns.opcua.model.result.OpcuaConfResult" parameterType="cn.stylefeng.guns.opcua.model.params.OpcuaConfParam"> |
|
26 |
select |
|
27 |
<include refid="Base_Column_List"/> |
|
28 |
from sys_opcua_conf where 1 = 1 |
|
29 |
</select> |
|
30 |
|
|
31 |
<select id="customMapList" resultType="map" parameterType="cn.stylefeng.guns.opcua.model.params.OpcuaConfParam"> |
|
32 |
select |
|
33 |
<include refid="Base_Column_List"/> |
|
34 |
from sys_opcua_conf where 1 = 1 |
|
35 |
</select> |
|
36 |
|
|
37 |
<select id="customPageList" resultType="cn.stylefeng.guns.opcua.model.result.OpcuaConfResult" parameterType="cn.stylefeng.guns.opcua.model.params.OpcuaConfParam"> |
|
38 |
select |
|
39 |
<include refid="Base_Column_List"/> |
|
40 |
from sys_opcua_conf where 1 = 1 |
|
41 |
</select> |
|
42 |
|
|
43 |
<select id="customPageMapList" resultType="map" parameterType="cn.stylefeng.guns.opcua.model.params.OpcuaConfParam"> |
|
44 |
select |
|
45 |
<include refid="Base_Column_List"/> |
|
46 |
from sys_opcua_conf where 1 = 1 |
|
47 |
</select> |
|
48 |
|
|
49 |
</mapper> |