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

215 lines
5.8 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月9日 下午1:11:21
*/
package com.chinasofti.service;
import java.util.List;
import com.chinasofti.model.Leave;
import com.chinasofti.model.view.LeaveView;
import com.chinasofti.model.view.Page;
import com.chinasofti.model.view.TeacherView;
/**
* Copyright: Copyright (c) 2025 chiansofti
*
* @ClassName: LeaveService.java
* @Description: 请假记录业务处理层
*
* @version: v1.0.0
* @author: 李洪涛
* @date: 2025年5月9日 下午1:11:21
*
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2025年5月9日 李洪涛 v1.0.0 新建文件
*/
public interface LeaveService {
/**
*
* @Function: findLeavePages
* @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<Leave> findLeavePages(Leave leave,Page page);
/**
*
* @Function: insertLeave
* @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 void insertLeave(Leave leave);
/**
*
* @Function: updateLeave
* @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 void updateLeave(Leave leave);
/**
*
* @Function: findLeaveViews
* @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<LeaveView> findLeaveViews(Leave leave);
/**
*
* @Function: removeLeave
* @Description: 删除
*
* @param: Leave
* @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 removeLeave(Leave leave);
/**
*
* @Function: findLeaveByTeacherIdsAndStatus
* @Description: 根据教师id与状态查询
*
* @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<Leave> findLeaveByTeacherIdsAndStatus(String teacherIds);
/**
*
* @Function: findLeavePagesByClazzIds
* @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<Leave> findLeavePagesByClazzIds(Leave leave,Page page,String clazzIds);
/**
*
* @Function: findLeaveViewsByClazzIds
* @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<LeaveView> findLeaveViewsByClazzIds(Leave leave,String clazzIds);
/**
*
* @Function: findApproveTeacherViews
* @Description: 获取审批教师信息
*
* @param: 教师ID
* @return审批教师实体集合
* @throws
*
* @version: v1.0.0
* @author: 李洪涛
* @date: 2025年5月17日 上午9:12:14
*
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2025年5月17日 李洪涛 v1.0.0 新建方法
*/
public List<TeacherView> findApproveTeacherViews(Long teacherId);
}