package com.seer.teach.admin.service;

import com.seer.teach.admin.request.BatchSaveSplitKnowledgePointsReq;
import com.seer.teach.admin.request.KnowledgePointSplitReq;
import com.seer.teach.admin.response.KnowledgePointSplitResp;

import java.util.List;

/**
 * 知识点拆分服务接口
 */
public interface KnowledgePointSplitService {

    /**
     * 拆分知识点
     *
     * @param req 知识点拆分请求
     * @return 拆分后的知识点列表
     */
    List<KnowledgePointSplitResp> splitKnowledgePoint(KnowledgePointSplitReq req);

    /**
     * 批量保存拆分知识点
     *
     * @param req 批量保存拆分知识点请求参数
     * @return 是否保存成功
     */
    boolean batchSaveSplitKnowledgePoints(BatchSaveSplitKnowledgePointsReq req);
}