package com.zy.ints.service.impl;
|
|
import com.baomidou.mybatisplus.plugins.Page;
|
import com.zy.ints.mapper.WaitMatinMapper;
|
import com.zy.ints.entity.WaitMatin;
|
import com.zy.ints.service.WaitMatinService;
|
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
|
import org.springframework.stereotype.Service;
|
|
@Service("waitMatinService")
|
public class WaitMatinServiceImpl extends ServiceImpl<WaitMatinMapper, WaitMatin> implements WaitMatinService {
|
|
@Override
|
public Page<WaitMatin> getHeadPage(Page<WaitMatin> page) {
|
page.setRecords(baseMapper.getHeadPage(page.getCondition()));
|
page.setTotal(baseMapper.getHeadPageCount(page.getCondition()));
|
return page;
|
}
|
|
}
|