From 0b597ea4500b3463ac9f0983dbabaca52417226c Mon Sep 17 00:00:00 2001
From: liyj <1003249715@qq.com>
Date: Sat, 14 Sep 2024 12:21:37 +0800
Subject: [PATCH] 回退上报流程bug修复2

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUserWebController.java |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUserWebController.java b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUserWebController.java
index 182f0b2..4ca98a3 100644
--- a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUserWebController.java
+++ b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUserWebController.java
@@ -388,7 +388,7 @@
     public Object userChoose(@CurrentUser String userId) {
         try {
             String roleCode = request.getParameter("roleCode");
-            SelectTermDTO unitSelectTerms = service.userChoose(userId, roleCode);
+            List<SelectTermDTO> unitSelectTerms = service.userChoose(userId, roleCode);
             return ReturnSucUtils.getRepInfo(unitSelectTerms);
         } catch (Exception e) {
             return ReturnFailUtils.getRepInfo(e.getMessage());
@@ -423,4 +423,21 @@
             return ReturnFailUtils.getRepInfo();
         }
     }
+
+    /**
+     * 人工配置-统一修改单位名称
+     * @url {ctx}/api/web/ctUser/updateUnitName
+     * @param id 主键编号
+     * @return Object
+     * @throws Exception
+     */
+    @GetMapping("/getByIdupdateUnitNameRole")
+    public Object updateUnitName() {
+        try {
+
+            return ReturnSucUtils.getRepInfo();
+        } catch (Exception e) {
+            return ReturnFailUtils.getRepInfo();
+        }
+    }
 }

--
Gitblit v1.8.0