| | |
| | | package com.ruoyi.staff.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.staff.dto.StaffLeaveDto; |
| | | import com.ruoyi.staff.dto.StaffOnJobDto; |
| | | import com.ruoyi.staff.pojo.StaffJoinLeaveRecord; |
| | | import com.ruoyi.staff.pojo.StaffLeave; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | public interface StaffLeaveService extends IService<StaffLeave> { |
| | | IPage<StaffLeaveDto> staffLeaveListPage(Page page, StaffLeaveDto staffLeaveDto); |
| | | /** |
| | | * 新增离职 |
| | | * @param staffLeaveDto |
| | | * @return |
| | | */ |
| | | int add(StaffLeaveDto staffLeaveDto); |
| | | |
| | | /** |
| | | * 更新离职信息 |
| | | * @param id |
| | | * @param staffLeaveDto |
| | | * @return |
| | | */ |
| | | int update(Long id, StaffLeaveDto staffLeaveDto); |
| | | |
| | | int del(List<Integer> ids); |
| | | |
| | | void export(HttpServletResponse response, StaffLeaveDto staffLeaveDto); |
| | | } |