mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
package com.dg.core.db.gen.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
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 HomeStatisticsMapper  extends BaseMapper<GuidePlate>
{
    /**
     * 按办结量排序
     * @return
     */
    List<GuidePlate> guidePlatePeople(List<String> ids);
 
    /**
     *按评分排序
     * @return
     */
    List<GuidePlate> score(List<String> ids);
 
    /**
     * 按超时
     * @return
     */
    List<GuidePlate> timeout(List<String> ids);
 
    /**
     * 按未办结
     * @param ids
     * @return
     */
    List<GuidePlate> tosettled(List<String> ids);
 
    /**
     * 按工单量
     * @param ids
     * @return
     */
    List<GuidePlate> workunit(List<String> ids);
 
    /**
     * 导办人员统计数
     * @return
     */
    Integer staffNum(List<String> ids);
 
    /**
     * 办事指南数量统计
     * @return
     */
    Integer countWork(List<String> ids);
 
    /**
     * 获取一级部门
     * @return
     */
    List<OrganizationEntity> getDepartment();
 
    /**
     * 评分
     * @return
     */
    Integer organizationScore(List<String> ids);
 
    /**
     * 办结量
     * @return
     */
    Integer organizationNum(List<String> ids);
 
    /**
     * 办事指南根据导办数量排序
     * @return
     */
    List<Guidance> guidanceTransaction(List<String> ids);
 
    /**
     * 办事指南根据浏览数量排序
     * @return
     */
    List<Guidance> guidanceBrowse(List<String> ids);
 
    /**
     * 获取统计数据  首页用  勿动
     */
    int countStatisticsNum(@Param("classifyIds") List<String> classifyIds,
                           @Param("ids") List<String> ids);
 
 
    /**
     * 首页统计用
     * @param parentId
     * @param classifyGrade
     * @return
     */
    public List<ClassifyAdministration> getClassify(@Param("parentId") String parentId,
                                                    @Param("classifyGrade") String classifyGrade);
 
 
    List<String> countId(String district);
 
 
    int rangeStatistics(List<String> ids);
 
 
    /**
     * 首页统计用
     * @return
     */
    String reversionRate(@Param("state") String state,@Param("isTimeout") String isTimeout);
 
 
}