| | |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from sys_opcua_conf where 1 = 1 |
| | | <if test="paramCondition.node != null and paramCondition.node != ''"> |
| | | and node like CONCAT('%',#{paramCondition.node},'%') |
| | | </if> |
| | | <if test="paramCondition.subscribe != null and paramCondition.subscribe != ''"> |
| | | and subscribe like CONCAT('%',#{paramCondition.subscribe},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="customMapList" resultType="map" parameterType="cn.stylefeng.guns.opcua.model.params.OpcuaConfParam"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from sys_opcua_conf where 1 = 1 |
| | | <if test="paramCondition.node != null and paramCondition.node != ''"> |
| | | and node like CONCAT('%',#{paramCondition.node},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="customPageList" resultType="cn.stylefeng.guns.opcua.model.result.OpcuaConfResult" parameterType="cn.stylefeng.guns.opcua.model.params.OpcuaConfParam"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from sys_opcua_conf where 1 = 1 |
| | | <if test="paramCondition.node != null and paramCondition.node != ''"> |
| | | and node like CONCAT('%',#{paramCondition.node},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="customPageMapList" resultType="map" parameterType="cn.stylefeng.guns.opcua.model.params.OpcuaConfParam"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from sys_opcua_conf where 1 = 1 |
| | | <if test="paramCondition.node != null and paramCondition.node != ''"> |
| | | and node like CONCAT('%',#{paramCondition.node},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |