lxw
2023-11-03 2560a5d3d0a504a41691528dc1d8c0a6f1cdd6b7
src/main/java/com/whyc/service/BattMonStandardCurveService.java
@@ -1,12 +1,15 @@
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
@@ -17,7 +20,7 @@
    public PageInfo<BattmonStandardcurve> getPage(int pageNum, int pageSize) {
        PageHelper.startPage(pageNum,pageSize);
        List<BattmonStandardcurve> curveList = mapper.selectList(null);
        List<BattmonStandardcurve> curveList = mapper.selectList((Wrapper<BattmonStandardcurve>) ActionUtil.objeNull);
        return new PageInfo<>(curveList);
    }
}