自动化立体仓库 - WMS系统
admin
2021-08-30 32700bf6d8abe8935e3dad6433584ac7cf03f87c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
 
@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;
    }
}