广州市综治平台后端
zhouxiantao
9 days ago 93430938a25ab3d4e218a2198ae1b24a516f6382
dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/controller/web/CaseInfoWebController.java
@@ -1091,6 +1091,29 @@
    }
    /**
     * 工作统计
     *
     * @return Object
     * @url {ctx}/api/web/caseInfo/workStatistics
     * @CurrentUser String userId
     */
    @GetMapping("/workStatistics")
    public Object workStatistics(@CurrentUser String userId) {
        try {
            Map<String, Object> terms = getParameterAll();
            //统计类型 1-个人,2-单位
            String workType = request.getParameter("workType");
            if (ObjectUtils.isNotEmpty(workType)) {
                terms.put("workType", workType);
            }
            return ReturnSucUtils.getRepInfo("处理成功", service.workStatistics(terms, userId));
        } catch (Exception e) {
            log.error("Controller接口[CaseInfoWebController.workStatistics]请求异常:" + e, e);
            return ReturnFailUtils.getRepInfo();
        }
    }
    /**
     * 解纷态势
     *
     * @return Object