SysPermissionExtMapper.java
897 字节
package com.skua.modules.system.mapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.skua.modules.system.entity.SysPermissionExt;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.Map;
/**
* 菜单权限扩展配置
*/
public interface SysPermissionExtMapper extends BaseMapper<SysPermissionExt> {
@Select("select spdc.permission_depart_name permissionDepartName,spdc.permission_depart_type permissionDepartType from sys_permission_ext spe left join sys_permission_depart_config spdc on spe.sys_permission_depart_config_id = spdc.id ${ew.customSqlSegment}")
Map<String, String> getSysPermissionDepartConfigBySysPermissionId(@Param(Constants.WRAPPER) QueryWrapper queryWrapper);
}