| | |
| | | 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; |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | @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; |
| | | } |
| | | |
| | | @Override |
| | | public List<WaitMatout> selectWaitMatOutBySts() { |
| | | return this.baseMapper.selectWaitMatOutBySts(); |
| | | } |
| | | } |