| | |
| | | |
| | | import cn.lili.common.security.context.UserContext; |
| | | import cn.lili.modules.lmk.domain.vo.SimpleMyCollectVO; |
| | | import cn.lili.modules.lmk.domain.vo.CollectTypeNumVO; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import cn.lili.modules.lmk.domain.entity.MyCollect; |
| | | import cn.lili.modules.lmk.mapper.MyCollectMapper; |
| | |
| | | public List<SimpleMyCollectVO> getCollectsByVideoIds(List<String> videoIds) { |
| | | return baseMapper.getCollectsByVideoIds(videoIds, UserContext.getCurrentUserId()); |
| | | } |
| | | |
| | | @Override |
| | | public List<CollectTypeNumVO> countNumGroupByType(String type) { |
| | | return baseMapper.countNumGroupByType(type); |
| | | } |
| | | } |