<?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.fjhx.mapper.tda.TdaProductMapper">

    <select id="getPage" resultType="com.fjhx.params.tda.TdaProductEx">
        select tp.id,
               ta.app_name,
               tp.name,
               tp.product_id,
               tp.device_type,
               tp.manufacturer_name,
               tp.protocol_type,
               tp.data_format
        from tda_product tp
                 left join tda_application ta on tp.tda_application_id = ta.id
            ${ew.customSqlSegment}
    </select>

</mapper>
