New file |
| | |
| | | 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); |
| | | |
| | | } |