TdaProductMapper.xml 846 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.fjhx.iot.mapper.tda.TdaProductMapper">
  4. <select id="getPage" resultType="com.fjhx.iot.entity.tda.vo.TdaProductVo">
  5. select
  6. tp.id,
  7. tp.tda_application_id,
  8. tp.app_id,
  9. tp.product_id,
  10. tp.name,
  11. tp.device_type,
  12. tp.manufacturer_name,
  13. tp.protocol_type,
  14. tp.data_format,
  15. tp.create_user,
  16. tp.create_time,
  17. tp.update_user,
  18. tp.update_time,
  19. ta.app_name
  20. from tda_product tp
  21. left join tda_application ta on tp.tda_application_id = ta.id
  22. ${ew.customSqlSegment}
  23. </select>
  24. </mapper>