From c1a463b9f1c0a7160dbd0ac1c7490eef13861a5e Mon Sep 17 00:00:00 2001
From: huangh <hshgjzd5@163.com>
Date: Tue, 29 Oct 2024 15:02:25 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/gzdyh_test' into gzdyh_test

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java |   20 +++-----------------
 1 files changed, 3 insertions(+), 17 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 90b35e0..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);
@@ -397,22 +399,6 @@
     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());
-        }
-    }
-
-    /**
-     * 督办-选择组织
-     * @url {ctx}/api/web/ctUnit/superviceUnitChoose
-     * @param userId 组织编号
-     * @return Object
-     */
-    @GetMapping("/superviceUnitChoose")
-    public Object superviceUnitChoose(@CurrentUser String userId) {
-        try {
-            List<SelectTermDTO> unitSelectTerms = service.superviceUnitChoose(userId);
             return ReturnSucUtils.getRepInfo(unitSelectTerms);
         } catch (Exception e) {
             return ReturnFailUtils.getRepInfo(e.getMessage());

--
Gitblit v1.8.0