BaikeDao.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package com.caimei.www.mapper;
  2. import com.caimei.www.pojo.baike.*;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. /**
  7. * Description
  8. *
  9. * @author : Aslee
  10. * @date : 2021/11/25
  11. */
  12. @Mapper
  13. public interface BaikeDao {
  14. /**
  15. * 查询采美百科产品/仪器详情数据
  16. */
  17. BaikeProduct getBaikeProductDetail(Integer productId);
  18. List<BaikeProductParam> findParamList(Integer id);
  19. /**
  20. * 查询图片列表
  21. *
  22. * @param productId
  23. * @param imageType 图片类型:1产品/仪器认证,2效果展示
  24. * @return
  25. */
  26. List<String> findImageList(@Param("productId") Integer productId, @Param("imageType") int imageType);
  27. List<BaikeProductQuestion> findQuestionList(Integer productId);
  28. void encyclopediaPv(Integer id);
  29. BaikeType getBaikeType(Integer typeId);
  30. List<BaikeProductFile> findVideoList(Integer productId);
  31. List<BaikeProduct> getManualRecommendList(Integer productId);
  32. List<BaikeProduct> getAutoRecommendList(Integer publishSource, @Param("shopId") Integer shopId, @Param("typeId") Integer typeId, @Param("productId") Integer productId);
  33. List<BaikeProductVo> getAuthUserList(String entryName);
  34. BaikeProductVo getEntryInfoById(Integer id);
  35. List<BaikeImageVo> getImageListById(Integer id);
  36. List<BaikeVideoVo> getVideoListById(Integer id);
  37. List<BaikeInfoVo> getInfoListById(Integer id);
  38. List<BaikeTextInfoVo> getTextInfoListById(Integer id);
  39. List<CmBaikeReferenceInfo> getReferenceListById(Integer id);
  40. }