From fe28edcb7f292afb042e8b16f0364994b35ac7a8 Mon Sep 17 00:00:00 2001
From: liyj <15602261488@163.com>
Date: Mon, 28 Oct 2024 21:34:47 +0800
Subject: [PATCH] 1、镇街交办,选择直属部门组织优化

---
 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