/*
 * Copyright (c) 2023 codvision.com All Rights Reserved.
 */

package com.codvision.workflow.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.codvision.webcore.bean.QueryPage;
import com.codvision.workflow.entity.WorkFlowCcItem;

import java.util.List;
import java.util.Map;

/**
 * @author hxl
 */
public interface WorkFlowCcItemService extends IService<WorkFlowCcItem> {

    /**
     * 分页列表
     * @param queryPage 查询条件
     * @return 列表
     */
    IPage<WorkFlowCcItem> getPageResult(QueryPage<Map<String, Object>> queryPage);

    /**
     * 添加
     * @param workFlowCcItem 抄送项
     * @param toCcUserIds 抄送人id
     */
    void addCcItem(WorkFlowCcItem workFlowCcItem, List<Integer> toCcUserIds);
}
