From b01f752252eaadd1fa31eda6a9ad43146660b721 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 03 四月 2025 23:42:57 +0800 Subject: [PATCH] bug修改 --- xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/mapper/MeditationMapper.java | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/mapper/MeditationMapper.java b/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/mapper/MeditationMapper.java index 452c99a..f845736 100644 --- a/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/mapper/MeditationMapper.java +++ b/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/mapper/MeditationMapper.java @@ -1,7 +1,14 @@ package com.xinquan.meditation.mapper; -import com.xinquan.meditation.domain.Meditation; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xinquan.common.core.web.page.PageInfo; +import com.xinquan.meditation.api.domain.Meditation; +import com.xinquan.meditation.domain.MeditationHall; +import com.xinquan.meditation.domain.vo.ClientMeditationQuestionVO; +import com.xinquan.meditation.domain.vo.ClientMeditationVO; +import java.util.List; +import java.util.Set; +import org.apache.ibatis.annotations.Param; /** * <p> @@ -13,4 +20,18 @@ */ public interface MeditationMapper extends BaseMapper<Meditation> { + /** + * 根据用户梵文权限和标签查询冥想列表 + * + * @param tagIdSet 标签id集合 + * @param sanskritFlag 梵文权限 + * @return 冥想列表 + */ + List<ClientMeditationVO> getMeditationListByTagId(@Param("tagIdSet") Set<Long> tagIdSet, + @Param("sanskritFlag") Integer sanskritFlag); + + List<MeditationHall> getMeditationPage(@Param("pageInfo") PageInfo<MeditationHall> pageInfo, + @Param("lon")String lon, + @Param("lat")String lat, @Param("name")String name); + } -- Gitblit v1.7.1