package com.mindskip.xzs.service.impl; import com.mindskip.xzs.domain.ExamPaperDepartment; import com.mindskip.xzs.repository.BaseMapper; import com.mindskip.xzs.repository.ExamPaperDepartmentMapper; import com.mindskip.xzs.service.ExamPaperDepartmentService; import org.springframework.stereotype.Service; import java.util.List; @Service public class ExamPaperDepartmentServiceImpl extends BaseServiceImpl implements ExamPaperDepartmentService { private final ExamPaperDepartmentMapper examPaperDepartmentMapper; public ExamPaperDepartmentServiceImpl(BaseMapper baseMapper, ExamPaperDepartmentMapper examPaperDepartmentMapper) { super(baseMapper); this.examPaperDepartmentMapper = examPaperDepartmentMapper; } @Override public Integer saves(List list) { return examPaperDepartmentMapper.saves(list); } @Override public Integer removes(Integer[] ids) { return examPaperDepartmentMapper.removes(ids); } @Override public List getByExamPaperId(Integer id) { return examPaperDepartmentMapper.getByExamPaperId(id); } @Override public Integer removeByExamPaperId(Integer id) { return examPaperDepartmentMapper.removeByExamPaperId(id); } @Override public Integer removeByExamPaperIds(Integer[] ids) { return examPaperDepartmentMapper.removeByExamPaperIds(ids); } @Override public String selectByUserId(Integer userId) { return examPaperDepartmentMapper.selectByUserId(userId); } }