jiangping
2023-09-14 352d337c355f60909d9dd24bd613c12ea92f8015
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
package doumeemes.service.ext.impl;
 
import doumeemes.core.model.PageData;
import doumeemes.core.model.PageWrap;
import doumeemes.dao.ext.dto.QuerySystemUserExternalExtDTO;
import doumeemes.dao.ext.vo.SystemUserExternalExtListVO;
import doumeemes.service.ext.SystemUserExternalExtService;
import doumeemes.dao.ext.SystemUserExternalExtMapper;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * 用户外部系统账号关联Service实现
 * @author 江蹄蹄
 * @date 2022/04/20 10:56
 */
@Service
public class SystemUserExternalExtServiceImpl implements SystemUserExternalExtService {
 
    @Autowired
    private SystemUserExternalExtMapper systemUserExternalExtMapper;
 
    @Override
    public PageData<SystemUserExternalExtListVO> findPage(PageWrap<QuerySystemUserExternalExtDTO> pageWrap) {
        PageHelper.startPage(pageWrap.getPage(), pageWrap.getCapacity());
        List<SystemUserExternalExtListVO> result = systemUserExternalExtMapper.selectList(pageWrap.getModel());
        return PageData.from(new PageInfo<>(result));
    }
}