From 472b5786b1459a2dd8007f6bbb4d1b578286bc9d Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期五, 14 十月 2022 14:40:39 +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 | 12 ++++++++++++ 1 files changed, 12 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..3feb910 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,14 @@ */ int countStatisticsNum(List<String> classifyIds); + + /** + * 首页统计用 + * @param parentId + * @param classifyGrade + * @return + */ + public List<ClassifyAdministration> getClassify(@Param("parentId") String parentId, + @Param("classifyGrade") String classifyGrade); + } -- Gitblit v1.7.1