diff --git a/pom.xml b/pom.xml
index 68ed53d..fbb015d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -227,6 +227,13 @@
${ruoyi.version}
+
+
+ com.ruoyi
+ ruoyi-mongodb
+ ${ruoyi.version}
+
+
@@ -237,6 +244,7 @@
ruoyi-common
ruoyi-tenant
ruoyi-crm
+ ruoyi-mongodb
pom
diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml
index 2ed571b..c7e15ee 100644
--- a/ruoyi-admin/pom.xml
+++ b/ruoyi-admin/pom.xml
@@ -67,6 +67,13 @@
ruoyi-crm
+
+
+ com.ruoyi
+ ruoyi-mongodb
+ 3.8.1
+
+
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java
index 5b24f6d..a4ff1cd 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java
@@ -1,5 +1,6 @@
package com.ruoyi.web.controller.system;
+import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.apache.commons.lang3.ArrayUtils;
@@ -88,6 +89,20 @@ public class SysDeptController extends BaseController
return AjaxResult.success(deptService.buildDeptTreeSelect(depts));
}
+ /**
+ * 服务工单指定销售人员
+ * @param dept
+ * @return
+ */
+ @GetMapping("/designatedPerson")
+ public AjaxResult designatedPerson(SysDept dept)
+ {
+ List depts = deptService.selectDeptList(dept);
+ ArrayList