package com.tangguo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tangguo.domain.BbsMoment;
import com.tangguo.domain.dto.BbsMomentListDTO;
import com.tangguo.domain.vo.BbsUserMomentCountVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 动态Mapper接口
 *
 * @author ruoyi
 * @date 2025-09-01
 */
public interface BbsMomentMapper extends BaseMapper<BbsMoment> {

	List<BbsMoment> selectBbsMomentList(@Param("moment") BbsMoment moment);


	BbsUserMomentCountVO selectUserMomentCount(@Param("userName") String userName);


	List<BbsMomentListDTO> selectUserMoments(@Param("userName") String userName, @Param("content") String content);


	List<BbsMomentListDTO> selectMoments(@Param("userName") String userName, @Param("content") String content);

}
