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