From 96916fb34cdc4907a194d0bafae22a5e2bf378bf Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Tue, 02 Jul 2024 17:40:20 +0800
Subject: [PATCH] 获取楼盘相关集合数据查询调整(改成sql会导致内存溢出)
---
src/main/java/org/springblade/modules/house/mapper/UserHouseLabelMapper.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/house/mapper/UserHouseLabelMapper.java b/src/main/java/org/springblade/modules/house/mapper/UserHouseLabelMapper.java
index 9ddcc79..b474b7e 100644
--- a/src/main/java/org/springblade/modules/house/mapper/UserHouseLabelMapper.java
+++ b/src/main/java/org/springblade/modules/house/mapper/UserHouseLabelMapper.java
@@ -18,6 +18,7 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.apache.ibatis.annotations.Param;
import org.springblade.modules.house.dto.UserHouseLabelDTO;
import org.springblade.modules.house.entity.UserHouseLabelEntity;
import org.springblade.modules.house.vo.HouseholdLabelVO;
@@ -44,4 +45,13 @@
List<Integer> getUserLabelList(UserHouseLabelDTO userHouseLabelDTO);
List<HouseholdLabelVO> statisticalLabels(IPage page, HouseholdLabelVO householdLabel);
+
+ List<HouseholdLabelVO> getCommunityStatisticalLabels(IPage<HouseholdLabelVO> page, HouseholdLabelVO householdLabel);
+
+ /**
+ * 查询对应的label集合信息
+ * @param labelName
+ * @return
+ */
+ List<UserHouseLabelEntity> getLabelList(@Param("labelNames") String labelName);
}
--
Gitblit v1.9.3