| | |
| | | package com.zy.ints.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.plugins.Page; |
| | | import com.zy.ints.entity.WaitMatin; |
| | | import com.zy.ints.mapper.WaitMatoutMapper; |
| | | import com.zy.ints.entity.WaitMatout; |
| | | import com.zy.ints.service.WaitMatoutService; |
| | |
| | | @Service("waitMatoutService") |
| | | public class WaitMatoutServiceImpl extends ServiceImpl<WaitMatoutMapper, WaitMatout> implements WaitMatoutService { |
| | | |
| | | @Override |
| | | public Page<WaitMatout> getHeadPage(Page<WaitMatout> page) { |
| | | |
| | | page.setRecords(baseMapper.getHeadPage(page.getCondition())); |
| | | page.setTotal(baseMapper.getHeadPageCount(page.getCondition())); |
| | | return page; |
| | | } |
| | | } |