Files
HRS/SMMS/src/com/chinasofti/service/TeacherService.java
2026-04-01 07:43:05 +08:00

196 lines
5.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
*
* 功能描述:
* @Package: com.chinasofti.service
* @author: 李洪涛
* @date: 2025年5月4日 下午11:17:06
*/
package com.chinasofti.service;
import java.util.List;
import com.chinasofti.model.Teacher;
import com.chinasofti.model.TeacherClazz;
import com.chinasofti.model.User;
import com.chinasofti.model.view.Page;
import com.chinasofti.model.view.TeacherView;
/**
* Copyright: Copyright (c) 2025 chiansofti
*
* @ClassName: TeacherService.java
* @Description: 教师业务处理
*
* @version: v1.0.0
* @author: 李洪涛
* @date: 2025年5月4日 下午11:17:06
*
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2025年5月4日 李洪涛 v1.0.0 新建文件
*/
public interface TeacherService {
/**
*
* @Function: findTeacher
* @Description: 查询
*
* @param: 教师实体
* @return教师实体
* @throws
*
* @version: v1.0.0
* @author: 李洪涛
* @date: 2025年4月6日 上午10:50:58
*
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2025年4月6日 李洪涛 v1.0.0 新建方法
*/
public Teacher findTeacher(Teacher teacher);
/**
*
* @Function: findClazzIdsByTeacherId
* @Description: 查询
*
* @param: teacherID
* @returnList<Long>
* @throws
*
* @version: v1.0.0
* @author: 李洪涛
* @date: 2025年4月6日 上午10:50:58
*
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2025年4月6日 李洪涛 v1.0.0 新建方法
*/
public List<Long> findClazzIdsByTeacherId(Long teacherID);
/**
*
* @Function: findTeacherViews
* @Description: 查询所有记录
*
* @param: 教师实体
* @return教师实体集合
* @throws
*
* @version: v1.0.0
* @author: 李洪涛
* @date: 2025年4月6日 上午10:50:58
*
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2025年4月6日 李洪涛 v1.0.0 新建方法
*/
public List<TeacherView> findTeacherViews(TeacherView teacherView,Page page);
/**
*
* @Function: insertTeacher
* @Description: 添加
*
* @param: 教师实体
* @return
* @throws
*
* @version: v1.0.0
* @author: 李洪涛
* @date: 2025年4月6日 上午10:50:58
*
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2025年4月6日 李洪涛 v1.0.0 新建方法
*/
public String insertTeacher(Teacher teacher,User user,TeacherClazz teacherClazz,String [] clazzIds);
/**
*
* @Function: insertTeacherClazz
* @Description: 添加
*
* @param: 教师与班级关联关系实体
* @return
* @throws
*
* @version: v1.0.0
* @author: 李洪涛
* @date: 2025年4月6日 上午10:50:58
*
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2025年4月6日 李洪涛 v1.0.0 新建方法
*/
public TeacherClazz insertTeacherClazz(TeacherClazz teacherClazz,String [] clazzIds);
/**
*
* @Function: updateTeacher
* @Description: 修改
*
* @param: 教师实体
* @return
* @throws
*
* @version: v1.0.0
* @author: 李洪涛
* @date: 2025年4月6日 上午10:50:58
*
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2025年4月6日 李洪涛 v1.0.0 新建方法
*/
public String updateTeacher(Teacher teacher,String [] clazzIds,User user);
/**
*
* @Function: removeTeachers
* @Description: 删除
*
* @param: id值
* @return
* @throws
*
* @version: v1.0.0
* @author: 李洪涛
* @date: 2025年4月6日 上午10:50:58
*
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2025年4月6日 李洪涛 v1.0.0 新建方法
*/
public void removeTeachers(List<Long> ids);
/**
*
* @Function: findTeacherByStudentId
* @Description: 查询
*
* @param: 教师实体
* @return教师实体
* @throws
*
* @version: v1.0.0
* @author: 李洪涛
* @date: 2025年4月6日 上午10:50:58
*
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2025年4月6日 李洪涛 v1.0.0 新建方法
*/
public Teacher findTeacherByStudentId(Long studentId);
}