whyclxw
2025-05-08 4c0f551e508bce3e853737a57a7cb09c0fbbb56f
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
package com.whyc.service;
 
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.whyc.mapper.BattmonStandardcurveMapper;
import com.whyc.pojo.BattmonStandardcurve;
import com.whyc.util.ActionUtil;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
import javax.swing.*;
import java.util.List;
 
@Service
public class BattMonStandardCurveService {
 
    @Resource
    private BattmonStandardcurveMapper mapper;
 
    public PageInfo<BattmonStandardcurve> getPage(int pageNum, int pageSize) {
        PageHelper.startPage(pageNum,pageSize);
        List<BattmonStandardcurve> curveList = mapper.selectList((Wrapper<BattmonStandardcurve>) ActionUtil.objeNull);
        return new PageInfo<>(curveList);
    }
}