feat: 删除角色功能

This commit is contained in:
siujamo
2025-12-29 12:33:01 +08:00
parent 05b6bbca79
commit f62e26d441
9 changed files with 90 additions and 2 deletions
@@ -0,0 +1,10 @@
<?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.onixbyte.helix.mapper.RoleAuthorityMapper">
<delete id="deleteByRoleId" parameterType="long">
DELETE
FROM role_authorities
WHERE role_id = #{roleId}
</delete>
</mapper>