From ec96abc7c3d9ef48b00c321eed85f9d934c699a5 Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期四, 10 十一月 2022 10:43:42 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into huacheng_test --- flower_city/src/main/java/com/dg/core/db/gen/mapper/HomeStatisticsMapper.java | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/flower_city/src/main/java/com/dg/core/db/gen/mapper/HomeStatisticsMapper.java b/flower_city/src/main/java/com/dg/core/db/gen/mapper/HomeStatisticsMapper.java index 41e42dc..fd4fa6a 100644 --- a/flower_city/src/main/java/com/dg/core/db/gen/mapper/HomeStatisticsMapper.java +++ b/flower_city/src/main/java/com/dg/core/db/gen/mapper/HomeStatisticsMapper.java @@ -1,9 +1,11 @@ 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; @@ -74,4 +76,28 @@ */ 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); + + + int rangeStatistics(List<String> ids); + + + /** + * 首页统计用 + * @return + */ + String reversionRate(@Param("state") String state,@Param("isTimeout") String isTimeout); + + } -- Gitblit v1.7.1