|
@@ -5,6 +5,7 @@ import com.ym.mec.common.dal.BaseDAO;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
import java.util.List;
|
|
|
+import java.util.Set;
|
|
|
|
|
|
public interface TeacherDefaultVipGroupSalaryDao extends BaseDAO<Long, TeacherDefaultVipGroupSalary> {
|
|
|
|
|
@@ -20,7 +21,8 @@ public interface TeacherDefaultVipGroupSalaryDao extends BaseDAO<Long, TeacherDe
|
|
|
* 根据教师编号删除vip课课酬设置
|
|
|
* @param userId
|
|
|
*/
|
|
|
- void delByTeacherId(Integer userId);
|
|
|
+ void delByTeacherId(@Param("userId") Integer userId,
|
|
|
+ @Param("categoryIds") Set<Integer> categoryIds);
|
|
|
|
|
|
/**
|
|
|
* 批量新增
|
|
@@ -31,4 +33,4 @@ public interface TeacherDefaultVipGroupSalaryDao extends BaseDAO<Long, TeacherDe
|
|
|
List<TeacherDefaultVipGroupSalary> queryByUserId(Integer userId);
|
|
|
|
|
|
List<TeacherDefaultVipGroupSalary> queryByUserIdList(@Param("userIdList") List<Integer> userIdList);
|
|
|
-}
|
|
|
+}
|