YearMultipleoptionsSetupMapper.xml 539 B

123456789101112131415
  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.YearMultipleoptionsSetupMapper">
  4. <!-- 开启二级缓存 -->
  5. <!--<cache type="org.mybatis.caches.ehcache.LoggingEhcache"/>-->
  6. <select id="getIdByNameType" resultType="java.lang.Long">
  7. SELECT
  8. id
  9. from year_multipleoptions_setup
  10. where setupname = #{name}
  11. AND setuptype = #{type}
  12. </select>
  13. </mapper>