111
k94314517
2025-07-09 d5984685e7efd46a5e850ade13b22fa727163a47
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 com.doumee.service.system.impl;
 
import com.doumee.core.model.PageData;
import com.doumee.core.model.PageWrap;
import com.doumee.dao.system.dto.QuerySystemJobListDTO;
import com.doumee.dao.system.vo.SystemJobListVO;
import com.doumee.service.system.SystemJobListService;
import com.doumee.dao.system.SystemJobListMapper;
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  dm
 * @since 2025/03/31 16:44
 */
@Service
public class SystemJobListServiceImpl implements SystemJobListService {
 
    @Autowired
    private SystemJobListMapper systemJobListMapper;
 
    @Override
    public PageData<SystemJobListVO> findPage(PageWrap<QuerySystemJobListDTO> pageWrap) {
        PageHelper.startPage(pageWrap.getPage(), pageWrap.getCapacity());
        List<SystemJobListVO> result = systemJobListMapper.selectList(pageWrap.getModel());
        return PageData.from(new PageInfo<>(result));
    }
}