forked from gzzfw/backEnd/gz-dyh

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