From b1c3a007984187ccd4df2854b320fa5e82c291f5 Mon Sep 17 00:00:00 2001
From: zhouxiantao <1026371446@qq.com>
Date: Mon, 21 Oct 2024 23:38:32 +0800
Subject: [PATCH] fix:解纷态势-兼容白云数据

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 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 f709ba2..08b51b9 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
@@ -78,7 +78,9 @@
         if (StringUtils.isNotBlank(unitName)){
             terms.put("unitName", unitName);
         }
-        // 组织类型,0:政法委,1:综治中心,2:直属部门,3:法院,4:行专业调委会,5:企事业调委会,6:演示测试,9:其他
+        // 组织类型,
+        // 调解组织类型(101:综治中心,102:直属部门,103:村居社区,104:行专业调委会,105:企事业调委会,106:演示测试),
+        // 行政组织类型(201:政法委,202:其他)
         String unitType = request.getParameter("unitType");
         if (StringUtils.isNotBlank(unitType)){
             terms.put("unitType", unitType);
@@ -388,6 +390,22 @@
     }
 
     /**
+     * 联合处置申请-选择组织
+     * @url {ctx}/api/web/ctUnit/assistApplyUnitChoose
+     * @param userId 组织编号
+     * @return Object
+     */
+    @GetMapping("/assistApplyUnitChoose")
+    public Object assistApplyUnitChoose(@CurrentUser String userId) {
+        try {
+            List<SelectTermDTO> unitSelectTerms = service.assistApplyUnitChoose(userId);
+            return ReturnSucUtils.getRepInfo(unitSelectTerms);
+        } catch (Exception e) {
+            return ReturnFailUtils.getRepInfo(e.getMessage());
+        }
+    }
+
+    /**
      * web端任务处理-上报-查询上报的目标组织
      * @url {ctx}/api/web/ctUnit/getAppearToUnit
      * @return Object

--
Gitblit v1.8.0