package com.tuoheng.service.op;

import com.tuoheng.model.dto.LoginUser;
import com.tuoheng.model.entity.Permissions;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tuoheng.model.query.RoleClientQuery;
import com.tuoheng.service.CurrentUser;
import com.tuoheng.until.JsonResult;

/**
 * @author 小影
 * @description 针对表【op_permissions(权限配置表)】的数据库操作Service
 * @createDate 2023-03-20 14:55:07
 */
public interface PermissionsService extends IService<Permissions> {

    JsonResult getRolePermissionByRoleId(RoleClientQuery query);

    JsonResult edit(Permissions permissions, LoginUser loginUser);

}
