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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
package com.landtool.lanbase.modules.res.service.impl;
 
import java.util.HashMap;
import java.util.List;
import java.util.Map;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import com.landtool.lanbase.modules.res.dao.Res_ActionRecordMapper;
import com.landtool.lanbase.modules.res.entity.Res_ActionRecord;
import com.landtool.lanbase.modules.res.entity.Res_MainInfo;
import com.landtool.lanbase.modules.res.entity.UserDefined.MainInfoJoinActionRecord;
import com.landtool.lanbase.modules.res.service.ResActionRecordService;
 
@Service("ResActionRecordService")
public class ResActionRecordServiceImpl implements ResActionRecordService {
 
    @Autowired
    private Res_ActionRecordMapper resActionRecordMapper;
 
    @Override
    public int deleteByPrimaryKey(Integer actionid) {
        return resActionRecordMapper.deleteByPrimaryKey(actionid);
    }
 
    @Override
    public int insert(Res_ActionRecord record) {
        return resActionRecordMapper.insert(record);
    }
 
    @Override
    public int insertSelective(Res_ActionRecord record) {
        return resActionRecordMapper.insertSelective(record);
    }
 
    @Override
    public Res_ActionRecord selectByPrimaryKey(Long actionid) {
        return resActionRecordMapper.selectByPrimaryKey(actionid);
    }
 
    @Override
    public int updateByPrimaryKeySelective(Res_ActionRecord record) {
        return resActionRecordMapper.updateByPrimaryKeySelective(record);
    }
 
    @Override
    public int updateByPrimaryKey(Res_ActionRecord record) {
        return resActionRecordMapper.updateByPrimaryKey(record);
    }
 
    @Override
    public List<MainInfoJoinActionRecord> selectByActiontype(Res_ActionRecord record) {
        return resActionRecordMapper.selectByActiontype(record);
    }
 
    @Override
    public Res_ActionRecord getUserActionRecord(Res_ActionRecord record) {
        return resActionRecordMapper.getUserActionRecord(record);
    }
 
    @Override
    public int selectResourceCount(Res_ActionRecord record) {
        return resActionRecordMapper.selectResourceCount(record);
    }
 
    @Override
    public List<Res_MainInfo> selectFangWenPaiHang() {
        return resActionRecordMapper.selectFangWenPaiHang();
    }
 
    @Override
    public List<MainInfoJoinActionRecord> selectResMainInfoWodeShouCang(MainInfoJoinActionRecord record) {
        return resActionRecordMapper.selectResMainInfoWodeShouCang(record);
    }
 
    @Override
    public List<Res_MainInfo> selectResMainInfoZuiXinZiYuan(Res_MainInfo resMainInfo) {
        return resActionRecordMapper.selectResMainInfoZuiXinZiYuan(resMainInfo);
    }
 
    @Override
    public List<Res_MainInfo> getTopList(Integer num, String actionType, Long userId,String isDiTuFuwu) {
        System.out.println(num);
        Map<String,Object> paramMap = new HashMap<String,Object>();
        paramMap.put("num", num);
        paramMap.put("actionType", actionType);
        paramMap.put("userId", userId);
        paramMap.put("isDiTuFuwu", isDiTuFuwu);
        return resActionRecordMapper.getTopList(paramMap);
    }
 
    @Override
    public List<Res_MainInfo> getListFWPH(Map<String, Object> map) {
        return resActionRecordMapper.getListFWPH(map);
    }
 
    @Override
    public List<MainInfoJoinActionRecord> getListWDSC(Map<String, Object> map) {
        return resActionRecordMapper.getListWDSC(map);
    }
 
    @Override
    public List<MainInfoJoinActionRecord> selectActionRecordJoinMainInfo(MainInfoJoinActionRecord record) {
        return resActionRecordMapper.selectActionRecordJoinMainInfo(record);
    }
 
    @Override
    public int selectCountByResourceid(Integer resourceid) {
        return resActionRecordMapper.selectCountByResourceid(resourceid);
    }
 
    @Override
    public int deleteByResourceid(Integer resourceid) {
        return resActionRecordMapper.deleteByResourceid(resourceid);
    }
 
    @Override
    public List<String> selectKeyWordsByUserid(Integer userid) {
        return resActionRecordMapper.selectKeyWordsByUserid(userid);
    }
 
    @Override
    public List<Res_MainInfo> selectMainInfoRecommends(Map<String, Object> map) {
        return resActionRecordMapper.selectMainInfoRecommends(map);
    }
 
    @Override
    public List<Res_ActionRecord> queryAppByResourceid(Map<String, Object> map) {
        return resActionRecordMapper.queryAppByResourceid(map);
    }
 
    @Override
    public List<Res_ActionRecord> queryAppActionCount(Map<String, Object> map) {
        return resActionRecordMapper.queryAppActionCount(map);
    }
 
    @Override
    public List<Res_ActionRecord> queryResourceByAppid(Map<String, Object> map) {
        return resActionRecordMapper.queryResourceByAppid(map);
    }
}