package com.ruoyi.gysl.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.gysl.entity.request.XmzskPageReq;
import com.ruoyi.gysl.mapper.XmzskMapper;
import com.ruoyi.gysl.entity.Xmzsk;
import com.ruoyi.gysl.service.XmzskService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (Xmzsk)表服务实现类
 *
 * @author makejava
 * @since 2025-02-24 14:31:18
 */
@Service("xmzskService")
public class XmzskServiceImpl extends ServiceImpl<XmzskMapper, Xmzsk> implements XmzskService {


    /**
     * 分页查询所有数据
     *
     * @param page  分页对象
     * @return 所有数据
     */
    @Override
    public Page<Xmzsk> page(Page<Xmzsk> page, XmzskPageReq req) {
        return baseMapper.page(page,req);
    }

    @Override
    public List<Xmzsk> page(XmzskPageReq req) {
        return  baseMapper.page(req);
    }
}

