1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-06 07:21:24 +08:00

Added pagination to StaffManagement

This commit is contained in:
2023-05-30 23:31:31 +08:00
parent c5d92d8cbe
commit 0f935b6191
5 changed files with 61 additions and 26 deletions

View File

@@ -1,11 +1,10 @@
package com.cfive.pinnacle.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cfive.pinnacle.entity.Staff;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cfive.pinnacle.entity.permission.User;
import java.util.List;
/**
* <p>
* 员工 服务类
@@ -15,7 +14,7 @@ import java.util.List;
* @since 2023-04-30
*/
public interface IStaffService extends IService<Staff> {
List<User> getAllStaff(Long departmentId);
IPage<User> getAllStaff(Long currentPage, Long pageSize, Long departmentId);
boolean modifyStaff(User user);
}