com.addplus.server.security.service.mapper.SysRoleMenuFunctionMapper Maven / Gradle / Ivy
The newest version!
package com.addplus.server.security.service.mapper;
import com.addplus.server.core.model.authority.data.SysRoleMenuFunction;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface SysRoleMenuFunctionMapper extends BaseMapper {
@Select("")
List getUserRoleMenu(@Param("rds") List rds);
@Update("")
Integer updateRoleFunctionDeleteByeId(@Param("rds") List mid);
@Update("UPDATE sys_role_menu_function \n" +
"SET is_deleted = 1 \n" +
"WHERE\n" +
" r_id = #{rId} AND is_deleted = 0")
Integer updateLogicallyDeleteByRoleId(@Param("rId") Long rId);
@Insert("")
Integer batchInsert(@Param("rId") Long rId, @Param("mIds") List list);
@Delete("")
Integer batchDelete(@Param("rId") Long rId, @Param("mIds") List list);
}