From 19f4474cc4e619d72e479cc2cde62d4974cb3b66 Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Mon, 21 Oct 2024 16:01:42 +0800
Subject: [PATCH] feature:新增批量待办操作接口

---
 dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java b/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java
index 5cb6066..a677523 100644
--- a/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java
+++ b/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java
@@ -17,6 +17,7 @@
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.stereotype.Service;
 
+import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
 import java.util.UUID;
@@ -153,6 +154,12 @@
         HeadVo headVo = initHeadVo();
         GridOrgUserRequestVo requestVo = new GridOrgUserRequestVo();
         requestVo.setHeadVo(headVo);
+        List<String> roleIds = new ArrayList<>();
+        roleIds.add("43fc22e6-7276-11ef-a6d1-005056820c5f");
+        roleIds.add("442be8dd-7276-11ef-a6d1-005056820c5f");
+        roleIds.add("679b1846-71c5-11ef-a6d1-005056820c5f");
+        roleIds.add("67affc74-71c5-11ef-a6d1-005056820c5f");
+        gridOrgUsersVo.setRoleIds(roleIds);
         requestVo.setBodyVo(gridOrgUsersVo);
         try {
 //            log.info("xsdobject:{}",JSON.toJSONString(requestVo));
@@ -161,7 +168,7 @@
                 log.info("xsdurl:{}",testUrl + "/api/thrid/grid/user/get-org-users");
                 s = HttpClientUtils.httpPostRaw(testUrl + "/api/thrid/grid/user/get-org-users", JSON.toJSONString(requestVo), new HashMap<>(), "utf-8");
             }else {
-                log.info("xsdurl:{}",gridUrl + "/sys/getUserByToken");
+                log.info("xsdurl:{}",gridUrl + "/sys/user/getUserListByOrg");
                 s = HttpClientUtils.httpPostRaw(gridUrl + "/sys/user/getUserListByOrg", JSON.toJSONString(requestVo), new HashMap<>(), "utf-8");
             }
             log.info("xsd:{}",s);

--
Gitblit v1.8.0