You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
548 B
21 lines
548 B
package com.youlai.boot.mini.mapper;
|
|
|
|
import com.youlai.boot.mini.model.entity.MiniUserPostView;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 用户作品浏览记录表 Mapper 接口
|
|
*
|
|
* @author jwy
|
|
* @since
|
|
*/
|
|
public interface MiniUserPostViewMapper extends BaseMapper<MiniUserPostView> {
|
|
|
|
List<Long> selectViewedPostIdsByUserAndTime(@Param("userId") Long userId, @Param("startTime") Long startTime);
|
|
|
|
int insertOrUpdateView(MiniUserPostView view);
|
|
|
|
}
|
|
|