package com.ssm.manage.dao.impl;

import com.ssm.core.impl.BaseDaoImpl;
import com.ssm.manage.dao.SsmRefundCourseDao;
import com.ssm.manage.entity.RefundCourse;
import com.ssm.manage.entity.RefundOrderList;
import com.ssm.manage.mapper.RefundCourseMapper;
import com.ssm.manage.query.RefundOrderResquest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class SsmRefundCourseDaoImpl extends BaseDaoImpl<RefundCourse> implements SsmRefundCourseDao {
    @Autowired
    private RefundCourseMapper mapper;

    @Override
    public RefundCourseMapper getMapper() {
        return mapper;
    }

    @Override
    public List<RefundCourse> selectList(RefundOrderResquest refundOrderResquest) {
        return mapper.selectList(refundOrderResquest);
    }
    @Override
    public List<RefundCourse> selectLists(RefundOrderResquest refundOrderResquest) {
        return mapper.selectLists(refundOrderResquest);
    }

    @Override
    public List<RefundCourse> selectListsBetween(RefundOrderResquest refundOrderResquest) {
        return mapper.selectListsBetween(refundOrderResquest);
    }

    @Override
    public int updateById(RefundCourse refundCourse) {
        return mapper.updateById(refundCourse);
    }
}
