2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.landtool.lanbase.modules.res.service.impl;
 
import java.util.List;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import com.landtool.lanbase.modules.res.dao.Res_BookMarksMapper;
import com.landtool.lanbase.modules.res.entity.Res_BookMarks;
import com.landtool.lanbase.modules.res.service.ResBookMarksService;
 
@Service
public class ResBookMarksServiceImpl implements ResBookMarksService {
    @Autowired
    private Res_BookMarksMapper res_bookMarksMapper;
 
    @Override
    public Res_BookMarks getById(Integer objectid) {
        return res_bookMarksMapper.getById(objectid);
    }
 
    @Override
    public List<Res_BookMarks> getBookMarksByUserid(Integer userid) {
        return res_bookMarksMapper.getBookMarksByUserid(userid);
    }
 
    @Override
    public int insert(Res_BookMarks res_bookMarks) {
        return res_bookMarksMapper.insert(res_bookMarks);
    }
 
    @Override
    public int updateByPrimaryKey(Res_BookMarks res_bookMarks) {
        return res_bookMarksMapper.updateByPrimaryKey(res_bookMarks);
    }
 
    @Override
    public int deleteByPrimaryKey(Integer objectid) {
        return res_bookMarksMapper.deleteByPrimaryKey(objectid);
    }
 
    @Override
    public int getCurrentObjectId(){
        return res_bookMarksMapper.getCurrentObjectId();
    }
}