yantian yue
2023-10-20 4f58ba24b9a7e24dc38aa8eb9ca0b92c83e161ac
guns-vip-main/src/main/java/cn/stylefeng/guns/opcua/mapper/mapping/OpcuaConfMapper.xml
@@ -26,24 +26,39 @@
        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>