package com.ai.da.mapper.primary;

import com.ai.da.common.config.mybatis.plus.CommonMapper;
import com.ai.da.mapper.primary.entity.Workspace;
import com.ai.da.model.vo.WorkspaceVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * Mapper 接口
 *
 * @author SHAHAIBO
 * @since 2023-08-01
 */
public interface WorkspaceMapper extends CommonMapper<Workspace> {

    /**
     * 自定义分页
     *
     * @param page
     * @param workspace
     * @return
     */
    List<WorkspaceVO> selectWorkspacePage(IPage page, WorkspaceVO workspace);

    String getStyleByProjectId(Long projectId);
}
