From 4dc8a15cb1f1c7b8a70fce95f3f715b472302a9c Mon Sep 17 00:00:00 2001
From: wangwh <2397901735@qq.com>
Date: Fri, 06 Sep 2024 18:20:26 +0800
Subject: [PATCH] 1、联合处置相关接口 2、查询办理结果接口 3、查询档案信息接口 4、修改督办相关接口等

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 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 a396678..19521e6 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
@@ -1,5 +1,6 @@
 package cn.huge.module.ctuser.controller.web;
 
+import cn.huge.base.common.dto.SelectTermDTO;
 import cn.huge.base.common.utils.ReturnFailUtils;
 import cn.huge.base.common.utils.ReturnSucUtils;
 import cn.huge.base.config.CurrentUser;
@@ -314,7 +315,7 @@
 
     /**
      * 获取所有组织(包含所有下级子组织)树形结构
-     * @url {ctx}/api/v1/ctUnit/listUnitTree
+     * @url {ctx}/api/web/ctUnit/listUnitTree
      * @param userId 登录用户标识称
      * @return Object
      */
@@ -333,7 +334,7 @@
 
     /**
      * 获取组织详情(包含组织下的部门详情)
-     * @url {ctx}/api/v1/ctUnit/getUnitAndDept?id=
+     * @url {ctx}/api/web/ctUnit/getUnitAndDept?id=
      * @param id 组织编号
      * @return Object
      */
@@ -350,7 +351,7 @@
 
     /**
      * 根据主键编号删除单位
-     * @url {ctx}/api/v1/ctUnit/removeByIds
+     * @url {ctx}/api/web/ctUnit/removeByIds
      * @param ids 主键编号
      * @return Object
      * @throws Exception
@@ -365,4 +366,19 @@
             return ReturnFailUtils.getRepInfo();
         }
     }
+
+    /**
+     * 选择组织
+     * @url {ctx}/api/web/ctUnit/unitChoose
+     * @return Object
+     */
+    @GetMapping("/unitChoose")
+    public Object unitChoose(@CurrentUser String userId) {
+        try {
+            List<SelectTermDTO> unitSelectTerms = service.unitChoose(userId);
+            return ReturnSucUtils.getRepInfo(unitSelectTerms);
+        } catch (Exception e) {
+            return ReturnFailUtils.getRepInfo(e.getMessage());
+        }
+    }
 }

--
Gitblit v1.8.0