zhanghua
2024-09-05 92aa6fde1b2a9f7eb36bc892a72f52ab24842f5a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.ycl.mapper.ding;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ycl.entity.ding.BookRemark;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
@Mapper
public interface BookRemarkMapper extends BaseMapper<BookRemark> {
    List<BookRemark> getAllByUserId(Long userId);
 
    int updateRemark(@Param("remark") String remark, @Param("id") Long id);
 
    BookRemark findByUserIdAndRemarkUserId(@Param("userId") Long userId, @Param("remarkUserId") Long remarkUserId);
 
 
}