mitao
2025-01-17 afa0dbb4f54e7244835dd67ec33c3e545f122f71
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;
    }