1
zj
2024-07-16 aac94d3eed9fc8f1958a24f06b3ca5c41fe11718
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
package com.nq.service.impl;
 
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.nq.common.ServerResponse;
import com.nq.dao.UserOptionLogMapper;
import com.nq.service.ISiteUserOptionLogService;
import com.nq.vo.user.UserOptionLogVO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
 
@Service("ISiteUserOptionLogService")
public class SiteUserOptionLogServiceImpl implements ISiteUserOptionLogService {
    private static final Logger log = LoggerFactory.getLogger(SiteUserOptionLogServiceImpl.class);
 
    @Autowired
    UserOptionLogMapper userOptionLogMapper;
 
    @Override
    public ServerResponse<PageInfo> list( Integer agentId,Integer userId, int pageNum, int pageSize) {
        if(null != agentId){
 
        }
        PageHelper.startPage(pageNum, pageSize);
        List<UserOptionLogVO> list = userOptionLogMapper.selective(userId);
        PageInfo pageInfo = new PageInfo(list);
        return ServerResponse.createBySuccess(pageInfo);
    }
}