SysRoleFunctionLkMapper.xml 861 B

1234567891011121314151617
  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.SysRoleFunctionLkMapper">
  4. <!-- 开启二级缓存 -->
  5. <cache type="org.mybatis.caches.ehcache.EhcacheCache">
  6. <property name="timeToIdleSeconds" value="1200"/>
  7. <property name="timeToLiveSeconds" value="1800"/>
  8. <property name="maxEntriesLocalHeap" value="1000"/>
  9. <property name="maxEntriesLocalDisk" value="10000000"/>
  10. <property name="memoryStoreEvictionPolicy" value="LRU"/>
  11. </cache>
  12. <select id="getByNodeAndCodeAndAuthtype" resultType="cn.ubitech.ttc.entity.SysRoleFunctionLk">
  13. select * from sys_role_function_lk where node = #{node} and funcode = #{funcode} and authtype = #{authtype}
  14. </select>
  15. </mapper>