| | |
| | | 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 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); |
| | | } |
| | | } |