zhanghua
2023-07-05 8439887c903fa52560af52b40e12a1baa8a123d3
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);
 
 
}