mitao
2025-03-14 08f1b1f1804a8bd833d42f257908d80e88387b55
flower_city/src/main/java/com/dg/core/service/HomeStatisticsService.java
@@ -1,8 +1,10 @@
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;
@@ -12,19 +14,33 @@
     * 按办结量排序
     * @return
     */
    List<GuidePlate> guidePlatePeople();
    List<GuidePlate> guidePlatePeople(List<String> ids);
    /**
     *按评分排序
     * @return
     */
    List<GuidePlate> score();
    List<GuidePlate> score(List<String> ids);
    /**
     * 按超时
     * @return
     */
    List<GuidePlate> timeout();
    List<GuidePlate> timeout(List<String> ids);
    /**
     * 按未办结
     * @param ids
     * @return
     */
    List<GuidePlate> tosettled(List<String> ids);
    /**
     * 按工单量
     * @param ids
     * @return
     */
    List<GuidePlate> workunit(List<String> ids);
    /**
     * 评分
@@ -47,23 +63,51 @@
     * 办事指南根据导办数量排序
     * @return
     */
    List<Guidance> guidanceTransaction();
    List<Guidance> guidanceTransaction(List<String> ids);
    /**
     * 办事指南根据浏览数量排序
     * @return
     */
    List<Guidance> guidanceBrowse();
    List<Guidance> guidanceBrowse(List<String> ids);
    /**
     * 导办人员统计数
     * @return
     */
    Integer staffNum();
    Integer staffNum(List<String> ids);
    /**
     * 办事指南数量统计
     * @return
     */
    Integer countWork();
    Integer countWork(List<String> ids);
    /**
     * 获取统计数据  首页用  勿动
     */
    int countStatisticsNum(List<String> classifyIds,List<String> ids);
    /**
     * 首页统计用
     * @param parentId
     * @param classifyGrade
     * @return
     */
    public List<ClassifyAdministration> getClassify(String parentId,
                                                    String classifyGrade);
    List<String> countId(String district);
    /**
     * 首页统计用
     * @return
     */
    String reversionRate(String state,String isTimeout);
    int rangeStatistics(List<String> ids);
}