From 0f2843a5f33c3319f5d95ca76c458da53728431e Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期三, 06 三月 2024 16:28:42 +0800
Subject: [PATCH] 新增t_member_coupon表分表配置

---
 ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/management/MgtStaffController.java |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/management/MgtStaffController.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/management/MgtStaffController.java
index 3c948a1..1f499f6 100644
--- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/management/MgtStaffController.java
+++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/management/MgtStaffController.java
@@ -77,11 +77,20 @@
                 }
             }
         }
-
         List<MgtDeptStaffListVo> mgtDeptStaffListVoList= sysStaffService.listMgtDeptStaff(deptId,userId);
         return R.ok(mgtDeptStaffListVoList);
     }
 
+
+    @RequestMapping(value = "/listDeptStaff", method = RequestMethod.POST)
+    @ApiOperation(value = "获取所有部门员工列表")
+    public R<List<MgtDeptStaffListVo>> listDeptStaff() {
+        List<MgtDeptStaffListVo> mgtDeptStaffListVoList= sysStaffService.listMgtDeptStaff(null,null);
+        return R.ok(mgtDeptStaffListVoList);
+    }
+
+
+
     @RequestMapping(value = "/listMgtDeptStaffByPermission", method = RequestMethod.POST)
     @ApiOperation(value = "通过权限获取部门员工列表")
     public R<List<MgtDeptStaffListVo>> listMgtDeptStaffByPermission() {

--
Gitblit v1.7.1