TeacherDefaultVipGroupSalaryService.java 874 B

1234567891011121314151617181920212223242526
  1. package com.ym.mec.biz.service;
  2. import com.ym.mec.biz.dal.entity.TeacherDefaultVipGroupSalary;
  3. import com.ym.mec.common.service.BaseService;
  4. import java.util.Date;
  5. import java.util.List;
  6. public interface TeacherDefaultVipGroupSalaryService extends BaseService<Long, TeacherDefaultVipGroupSalary> {
  7. /**
  8. * @Author: Joburgess
  9. * @Date: 2019/10/9
  10. * @params [userId, categoryId]
  11. * @return com.ym.mec.biz.dal.entity.TeacherDefaultVipGroupSalary
  12. * @describe 根据用户及课程类型获取教师默认vip课酬
  13. */
  14. TeacherDefaultVipGroupSalary findByTeacherAndCategory(Integer userId, Integer categoryId);
  15. /**
  16. * 批量新增修改教师vip课酬设置
  17. * @param teacherDefaultVipGroupSalaries
  18. * @param startDate
  19. */
  20. void upSet(List<TeacherDefaultVipGroupSalary> teacherDefaultVipGroupSalaries, Date startDate);
  21. }