From 899c73b04d15a67b94bc3894a54c33418e285212 Mon Sep 17 00:00:00 2001
From: xusd <330628789@qq.com>
Date: Thu, 12 Jun 2025 16:31:50 +0800
Subject: [PATCH] feature:非警务纠纷优化

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

diff --git a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java
index 0e8f327..19fbd24 100644
--- a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java
+++ b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java
@@ -389,6 +389,16 @@
         }
     }
 
+    @GetMapping("/unitChoose4Union")
+    public Object unitChoose4Union(@CurrentUser String userId) {
+        try {
+            List<SelectTermDTO> unitSelectTerms = service.unitChoose4Union(userId);
+            return ReturnSucUtils.getRepInfo(unitSelectTerms);
+        } catch (Exception e) {
+            return ReturnFailUtils.getRepInfo(e.getMessage());
+        }
+    }
+
     /**
      * 联合处置申请-选择组织
      * @url {ctx}/api/web/ctUnit/assistApplyUnitChoose
@@ -469,4 +479,19 @@
             return ReturnFailUtils.getRepInfo( "查询失败", null);
         }
     }
+
+    /**
+     * 联合处置申请获取所有组织树形结构
+     * @url {ctx}/api/web/ctUnit/unitTree4Union
+     * @return Object
+     */
+    @GetMapping("/unitTree4Union")
+    public Object unitTree4Union(@CurrentUser String userId) {
+        try {
+            return ReturnSucUtils.getRepInfo( "查询成功", service.unitTree4Union(userId));
+        } catch (Exception e) {
+            log.error("Controller接口[CtUnitWebController.unitTree]请求异常:"+e, e);
+            return ReturnFailUtils.getRepInfo( "查询失败", null);
+        }
+    }
 }

--
Gitblit v1.8.0