ImportAnalyseMapper.xml 822 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="cn.ubitech.ttc.dao.ImportAnalyseMapper">
  4. <!-- 开启二级缓存 -->
  5. <cache type="org.mybatis.caches.ehcache.LoggingEhcache"/>
  6. <select id="getTableClassName" resultType="java.lang.String">
  7. select distinct table_classname
  8. from import_analyse
  9. </select>
  10. <select id="getTableNameByImportId" resultType="java.lang.String">
  11. select distinct table_classname
  12. from import_analyse
  13. where importid = #{importid}
  14. </select>
  15. <select id="getTableNameByTitle" resultType="java.lang.String">
  16. select table_classname
  17. from import_analyse
  18. where title = #{title}
  19. </select>
  20. </mapper>