dji-cloud-api module add

This commit is contained in:
2024-12-23 16:21:22 +08:00
parent 42ab5d5730
commit 6619d9183f
1339 changed files with 139221 additions and 0 deletions
@@ -0,0 +1,16 @@
<?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.central.user.mapper.SysMenuMapper">
<select id="findByUserId" resultType="com.central.common.model.SysMenu">
select distinct t.* from sys_menu t
inner join sys_role_menu r on r.menu_id = t.id
inner join sys_role_user ru on ru.role_id = r.role_id
where ru.user_id = #{userId}
<if test="type != null">
and t.type = #{type}
</if>
and t.hidden = 0
ORDER BY sort ASC
</select>
</mapper>