From 096a1bbf66d92dee36018b3eb73e4590a4008d44 Mon Sep 17 00:00:00 2001 From: niujiyi <18272501226@163.com> Date: Fri, 18 Sep 2026 09:24:38 +0800 Subject: [PATCH] =?UTF-8?q?CIM-=E5=A4=A7=E5=B1=8F=E6=8C=87=E6=A0=87?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cim/CimDashboardOverviewController.java | 334 ------------------ 1 file changed, 334 deletions(-) diff --git a/zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/cim/CimDashboardOverviewController.java b/zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/cim/CimDashboardOverviewController.java index 534609ea..7984fa37 100644 --- a/zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/cim/CimDashboardOverviewController.java +++ b/zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/cim/CimDashboardOverviewController.java @@ -1,8 +1,5 @@ package com.zdxt.enforcementcode.controller.cim; - -import cn.dev33.satoken.annotation.SaIgnore; -import com.zdxt.enforcementcode.common.util.TbHbUtils; import com.zdxt.enforcementcode.domain.bo.CimDashboardOverviewQueryBo; import com.zdxt.enforcementcode.domain.vo.CimDashboardOverviewVo; import com.zdxt.enforcementcode.service.ICimDashboardOverviewService; @@ -12,9 +9,6 @@ import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; - -import java.time.LocalDateTime; -import java.util.Calendar; import java.util.Date; import java.util.List; @@ -59,47 +53,6 @@ public class CimDashboardOverviewController { return R.ok(vo); } - /** - * Cim大屏-大屏总览:查询 计划总数-预告总数-涉企执法总数-价差评价总数-检查投诉总数-平均检查频次 - * (月) - * 暂时注释后面不再使用删除掉 - * @param bo - * @return - */ - /*@GetMapping("/getLawRegulationCount") - public R getLawRegulationCount(CimDashboardOverviewQueryBo bo){ - - CimDashboardOverviewVo vo = new CimDashboardOverviewVo(); - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - //计划总数 - Long jszsCount= cimDashboardOverviewService.getPlanCount(bo); - vo.setJhzs(jszsCount); - //预告总数 - Long ygzsCount= cimDashboardOverviewService.getNoticeCount(bo); - vo.setYgzs(ygzsCount); - //涉企执法总数 - Long sqzfzsCount= cimDashboardOverviewService.getEnfLawCount(bo); - vo.setSqzfzs(sqzfzsCount); - //检查评价总数 - Long jcpjzsCount= cimDashboardOverviewService.getLawEvaluateCount(bo); - vo.setJcpjzs(jcpjzsCount); - //检查投诉总数 - Long jctszsCount= cimDashboardOverviewService.getComplaintCount(bo); - vo.setJctszs(jctszsCount); - //平均检查频次 - Long bzfqyCount= cimDashboardOverviewService.getSubLawEntCount(bo); - Long xzzfCount= cimDashboardOverviewService.getEnfRegistrationCount(bo); - if(bzfqyCount!=0){ - vo.setPjjcpc(xzzfCount/bzfqyCount); - } - - - return R.ok(vo); - }*/ - - /** * Cim大屏-大屏总览 查询 单独部门执法-联合执法-被执法企业-入企压减率-执法人员数-执法单位数 * (实) @@ -129,34 +82,6 @@ public class CimDashboardOverviewController { return R.ok(vo); } - - /** - * Cim大屏-大屏总览 查询区域检查趋势分析 - * (季度) - * @param bo - * @return - */ - /* @GetMapping("/getQuarterlyRegionList") - public R> getQuarterlyRegionList(CimDashboardOverviewQueryBo bo){ - Date time = new Date(System.currentTimeMillis()); - bo.setYearTime(time); - List vo= cimDashboardOverviewService.getQuarterlyRegionList(bo); - return R.ok(vo); - } -*/ - /** - * Cim大屏-大屏总览 查询领域检查趋势分析 - * (季度) - * @param bo - * @return - */ - /* @GetMapping("/getDomainQuarterList") - public R> getDomainQuarterList(CimDashboardOverviewQueryBo bo){ - Date time = new Date(System.currentTimeMillis()); - bo.setYearTime(time); - List vo= cimDashboardOverviewService.getDomainQuarterList(bo); - return R.ok(vo); - }*/ /** * Cim大屏-大屏总览 查询 涉企执法登记类别 * (实) @@ -188,263 +113,4 @@ public class CimDashboardOverviewController { List vo= cimDashboardOverviewService.getNonEnfRegistraion(bo); return R.ok(vo); } - - /** - * Cim大屏- 查询高频检查区域 - * (月) - */ - - /*@GetMapping("/getHighCheckArea") - public R> getHighCheckArea(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getHighCheckArea(bo); - return R.ok(vo); - }*/ - - /** - * Cim大屏- 查询高频检查区域执法单位联合执法数排行 - * (月) - */ - - /*@GetMapping("/getHighCheckAreaUnionNoRanking") - public R> getHighCheckAreaUnionNoRanking(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getHighCheckAreaUnionNoRanking(bo); - return R.ok(vo); - }*/ - - /** - * Cim大屏- 查询高频检查区域执法单位检查次数排行 - * (月) - */ - - /*@GetMapping("/getHighCheckAreaenfRegistraionRanking") - public R> getHighCheckAreaenfRegistraionRanking(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getHighCheckAreaenfRegistraionRanking(bo); - return R.ok(vo); - }*/ - - /** - * Cim大屏- 查询各领域高频检查次数排行 - * (月) - */ - - /*@GetMapping("/getHighCheckFieldRanking") - public R> getHighCheckFieldRanking(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getHighCheckFieldRanking(bo); - return R.ok(vo); - }*/ - - /** - * Cim大屏- 查询高频执法领域联合执法数 - * (月) - */ - - /*@GetMapping("/getHighCheckFieldUnionNoCount") - public R> getHighCheckFieldUnionNoCount(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getHighCheckFieldUnionNoCount(bo); - return R.ok(vo); - } -*/ - /** - * Cim大屏- 查询企业高频检查明细 - * (月) - */ - - /* @GetMapping("/getHighCheckEntDetail") - public R> getHighCheckEntDetail(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getHighCheckEntDetail(bo); - return R.ok(vo); - }*/ - - /** - * Cim大屏- 获取高频检查企业 - * (月) - */ - - /*@GetMapping("/getHighCheckEnt") - public R> getHighCheckEnt(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getHighCheckEnt(bo); - return R.ok(vo); - }*/ - - - /** - * Cim大屏- 获取 总体概览 (行政执法数,行政检查案件数,行政处罚案件数,行政强制案件数) + 同比 + 环比 - * (月) - * @param bo - * @return - */ - /*@GetMapping("/getGeneralOverview") - public R getGeneralOverview(CimDashboardOverviewQueryBo bo){ - - CimDashboardOverviewVo vo = new CimDashboardOverviewVo(); - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - - // 行政执法数 + 同比 + 环比 - TbHbUtils.TbHbResult tbHb = TbHbUtils.calculate( - monthTime -> { - bo.setMonthTime(monthTime); - return cimDashboardOverviewService.getEnfRegistrationCountByMonth(bo); - }, - time - ); - vo.setXzzfs(tbHb.currentCount); - vo.setXzzfsTb(tbHb.tb); - vo.setXzzfsHb(tbHb.hb); - - // 行政检查案件数 + 同比 + 环比 - TbHbUtils.TbHbResult checkCasetbHb = TbHbUtils.calculate( - monthTime -> { - bo.setMonthTime(monthTime); - return cimDashboardOverviewService.getCheckCaseCount(bo); - }, - time - ); - vo.setXzjcajs(checkCasetbHb.currentCount); - vo.setXzjcajsTb(checkCasetbHb.tb); - vo.setXzjcajsHb(checkCasetbHb.hb); - - - // 行政处罚数 + 同比 + 环比 - TbHbUtils.TbHbResult xzcfajsTbHb = TbHbUtils.calculate( - monthTime -> { - bo.setMonthTime(monthTime); - return cimDashboardOverviewService.getPenaltyCaseCount(bo); - }, - time - ); - vo.setXzcfajs(xzcfajsTbHb.currentCount); - vo.setXzcfajsTb(xzcfajsTbHb.tb); - vo.setXzcfajsHb(xzcfajsTbHb.hb); - - // 行政强制案件数 + 同比 + 环比 - TbHbUtils.TbHbResult xzqzajsTbHb = TbHbUtils.calculate( - monthTime -> { - bo.setMonthTime(monthTime); - return cimDashboardOverviewService.getCompulsoryCaseCount( bo); - }, - time - ); - vo.setXzqzajs(xzqzajsTbHb.currentCount); - vo.setXzqzajsTb(xzqzajsTbHb.tb); - vo.setXzqzajsHb(xzqzajsTbHb.hb); - - return R.ok(vo); - }*/ - - /** - * Cim大屏- 获取各区行政执法数,行政执法案件数 - * (月) - */ - /*@GetMapping("/getAreaEnfRegistrationAndCaseCount") - public R> getAreaEnfRegistrationAndCaseCount(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getAreaEnfRegistrationAndCaseCount(bo); - return R.ok(vo); - }*/ - - /** - * Cim大屏- 获取各区行政执法数,行政执法案件数明细 - * (月) - */ - /* @GetMapping("/getAreaEnfRegistrationAndCaseCountDetails") - public R> getAreaEnfRegistrationAndCaseCountDetails(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getAreaEnfRegistrationAndCaseCountDetails(bo); - return R.ok(vo); - }*/ - - /** - * Cim大屏- 获取领域行政执法数,行政执法案件数 - * (月) - * @param bo - * @return - */ - /*@GetMapping("/getFieldEnfRegistrationAndCaseCount") - public R> getFieldEnfRegistrationAndCaseCount(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getFieldEnfRegistrationAndCaseCount(bo); - return R.ok(vo); - }*/ - - /** - * Cim大屏- 获取领域行政执法数,行政执法案件数明细 - *(月) - * @param bo - * @return - */ - /*@GetMapping("/getFieldEnfRegistrationAndCaseCountDetails") - public R> getFieldEnfRegistrationAndCaseCountDetails(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getFieldEnfRegistrationAndCaseCountDetails(bo); - return R.ok(vo); - }*/ - - /** - * Cim大屏- 获取重点企业数(月) - * - */ - /*@GetMapping("/getKeyEnterprises") - public R> getKeyEnterprises(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getKeyEnterprises(bo); - return R.ok(vo); - }*/ - - /** - * Cim大屏- 获取重点企业行政执法明细(日) - */ - /*@GetMapping("/getKeyEnterpriseEnfRegDetails") - public R> getKeyEnterpriseEnfRegDetails(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setDayTime(time); - List vo= cimDashboardOverviewService.getKeyEnterpriseEnfRegDetails(bo); - return R.ok(vo); - }*/ - - /** - * Cim大屏-获取涉企登记趋势(月) - */ - /* @GetMapping("/getEnfRegistrationTrend") - public R> getEnfRegistrationTrend(CimDashboardOverviewQueryBo bo){ - // 获取当前系统时间 - Date time = new Date(System.currentTimeMillis()); - bo.setMonthTime(time); - List vo= cimDashboardOverviewService.getEnfRegistrationTrend(bo); - return R.ok(vo); - }*/ - }