package com.ly.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ly.dao.TenderDao;
import com.ly.domain.Tender;
import com.ly.service.TenderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TenderServiceImpl extends ServiceImpl<TenderDao, Tender> implements TenderService {
    @Resource
    private TenderDao tenderDao;
    @Override
    public Page<Tender> findPage(Page<Tender> page, String name) {
        return tenderDao.findPage(page,name);
    }
}
