角色单条删除时使其逻辑删除

pull/283/head
RuoYi 2021-04-09 12:53:11 +08:00
parent 05dd2520b6
commit fa52c64c92
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<delete id="deleteRoleById" parameterType="Long">
delete from sys_role where role_id = #{roleId}
update sys_role set del_flag = '2' where role_id = #{roleId}
</delete>
<delete id="deleteRoleByIds" parameterType="Long">