You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
509 B
XML
13 lines
509 B
XML
6 years ago
|
<?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.kiisoo.ic.domain.mapper.PrivilageDomainEntityDOMapper">
|
||
|
|
||
|
<select id="selectEntityByUserId" resultType="java.lang.Long">
|
||
|
select t2.entity_id from privilage_user_domain t1, privilage_domain_entity t2
|
||
|
where t1.domain_id = t2.domain_id
|
||
|
and t2.type =#{type}
|
||
|
and t1.user_id = #{userId}
|
||
|
</select>
|
||
|
|
||
|
</mapper>
|