From 5f3cf501f9f6c216df17ee8af6618b55b537d21a Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期五, 21 十月 2022 16:57:54 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into local_20221014

---
 flower_city/src/main/java/com/dg/core/service/HomeStatisticsService.java |   96 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 96 insertions(+), 0 deletions(-)

diff --git a/flower_city/src/main/java/com/dg/core/service/HomeStatisticsService.java b/flower_city/src/main/java/com/dg/core/service/HomeStatisticsService.java
new file mode 100644
index 0000000..d3c44ba
--- /dev/null
+++ b/flower_city/src/main/java/com/dg/core/service/HomeStatisticsService.java
@@ -0,0 +1,96 @@
+package com.dg.core.service;
+
+import com.dg.core.db.gen.entity.ClassifyAdministration;
+import com.dg.core.db.gen.entity.Guidance;
+import com.dg.core.db.gen.entity.GuidePlate;
+import com.dg.core.db.gen.entity.OrganizationEntity;
+import org.springframework.data.repository.query.Param;
+
+import java.util.List;
+
+public interface HomeStatisticsService
+{
+    /**
+     * 按办结量排序
+     * @return
+     */
+    List<GuidePlate> guidePlatePeople();
+
+    /**
+     *按评分排序
+     * @return
+     */
+    List<GuidePlate> score();
+
+    /**
+     * 按超时
+     * @return
+     */
+    List<GuidePlate> timeout();
+
+    /**
+     * 评分
+     * @return
+     */
+    Integer organizationScore(List<String> ids);
+
+    /**
+     * 办结量
+     * @return
+     */
+    Integer organizationNum(List<String> ids);
+    /**
+     * 获取一级部门
+     * @return
+     */
+    List<OrganizationEntity> getDepartment();
+
+    /**
+     * 办事指南根据导办数量排序
+     * @return
+     */
+    List<Guidance> guidanceTransaction();
+
+    /**
+     * 办事指南根据浏览数量排序
+     * @return
+     */
+    List<Guidance> guidanceBrowse();
+
+    /**
+     * 导办人员统计数
+     * @return
+     */
+    Integer staffNum();
+
+    /**
+     * 办事指南数量统计
+     * @return
+     */
+    Integer countWork();
+
+    /**
+     * 获取统计数据  首页用  勿动
+     */
+    int countStatisticsNum(List<String> classifyIds);
+
+
+    /**
+     * 首页统计用
+     * @param parentId
+     * @param classifyGrade
+     * @return
+     */
+    public List<ClassifyAdministration> getClassify(@Param("parentId") String parentId,
+                                                    @Param("classifyGrade") String classifyGrade);
+
+
+    List<String> countId(String district);
+
+    /**
+     * 首页统计用
+     * @return
+     */
+    int reversionRate(String state,String isTimeout);
+
+}

--
Gitblit v1.7.1