mitao
2025-01-12 0f9fdb03e866a21b9242d5ad8d65ca9359e1950f
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/staff/SysStaffServiceImpl.java
@@ -89,8 +89,8 @@
     * @return  List<MgtDeptStaffListVo>
     */
    @Override
    public List<MgtDeptStaffListVo> listMgtDeptStaff(Long deptId,Long userId){
        return sysStaffMapper.listMgtDeptStaff(deptId,userId);
    public List<MgtDeptStaffListVo> listMgtDeptStaff(Long deptId,Long userId, String name){
        return sysStaffMapper.listMgtDeptStaff(deptId,userId, name);
    }
    /**
@@ -126,7 +126,7 @@
                }
            }
        }
        deptStaffListVoList = sysStaffMapper.listMgtDeptStaff(deptId,userId1);
        deptStaffListVoList = sysStaffMapper.listMgtDeptStaff(deptId,userId1, null);
        return deptStaffListVoList;
    }