package com.zhongzheng.modules.inform.mapper;

import com.zhongzheng.modules.goods.bo.GoodsQueryBo;
import com.zhongzheng.modules.inform.bo.InformQueryBo;
import com.zhongzheng.modules.inform.domain.Inform;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhongzheng.modules.inform.vo.CourseInformVo;
import com.zhongzheng.modules.inform.vo.InformVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author ruoyi
 * @date 2021-11-23
 */
public interface InformMapper extends BaseMapper<Inform> {

    List<InformVo> listInform(InformQueryBo bo);

    Integer selectOrder(@Param("goodsId") Long goodsId ,@Param("userId") Long userId);

    List<CourseInformVo> listGoodsCourse(GoodsQueryBo bo);
}
