Commit a2d98d4b authored by 赵啸非's avatar 赵啸非

添加用户扩展xml

parent ebf0cbec
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.iot.base.system.user.dao.ibatis.UserDaoImpl">
<!-- 获取列表 -->
<select id="getAuthListById" parameterType="paramDto" resultType="Long">
select resourceId
from mortals_iot_role_auth as a
left join mortals_iot_role_user as b
on a.roleId=b.roleId
where b.userId=#{condition.id}
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.user.dao.ibatis.UserDaoImpl">
<!-- 获取列表 -->
<select id="getAuthListById" parameterType="paramDto" resultType="Long">
select resourceId
from mortals_iot_role_auth as a
left join mortals_iot_role_user as b
on a.roleId=b.roleId
where b.userId=#{condition.id}
</select>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment