package com.ruoyi.school.course.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.school.course.domain.resp.course.RespBusinessChooseCourseCharge;
import com.ruoyi.school.course.domain.req.course.ScCourseCharge;

import java.util.List;

/**
 * <p>
 * 课程收费模式 服务类
 * </p>
 *
 * @author zhangby
 * @since 2020-07-08
 */
public interface IScCourseChargeService extends IService<ScCourseCharge> {

    /**
     * 收费模式转换
     * @param courseChargeList
     * @return
     */
    List<RespBusinessChooseCourseCharge> transferCourseChargeList(List<ScCourseCharge> courseChargeList);

    /**
     * 课程收费模式
     * @param courseId
     * @param chargeType
     * @return
     */
    List<RespBusinessChooseCourseCharge> courseChargeList(Long courseId, String chargeType);
}
