package cn.com.countrygarden.bi.main.service.ck;

import cn.com.countrygarden.bi.main.dto.ck.CkFileidRoleListVo;
import cn.com.countrygarden.bi.main.model.AccessToken;
import cn.com.countrygarden.bi.main.model.ck.CkCleanerFileidRole;

import java.util.List;

/**
 * @Description:    字段配置角色表-业务逻辑层
 * @author  木木子
 * @email 944528607@qq.com
 * @date  2020/5/13  14:22
 */
public interface CkCleanerFileidRoleService {

//    Result queryPageList(CkCleanerFileidRole ckCleanerFileidRole, int page, int size);

    int addOrEdit(String roleCode, String data, AccessToken accessToken);

    List<CkCleanerFileidRole> checkedKeys(String roleCode, AccessToken accessToken);

    List<CkFileidRoleListVo> tree(CkCleanerFileidRole ckCleanerFileidRole);

    List<CkFileidRoleListVo> cktree(CkCleanerFileidRole ckCleanerFileidRole,String role);
}