package com.jwipc.shopping.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jwipc.shopping.entity.ShoppingInvoice;
import com.jwipc.shopping.entity.ShoppingReceivingAddress;
import com.jwipc.shopping.mapper.ShoppingInvoiceMapper;
import com.jwipc.shopping.model.query.ShoppingQuery;
import com.jwipc.shopping.service.IShoppingInvoiceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 商城发票信息维护 服务实现类
 * </p>
 *
 * @author zx
 * @since 2024-03-14
 */
@Service
public class ShoppingInvoiceServiceImpl extends ServiceImpl<ShoppingInvoiceMapper, ShoppingInvoice> implements IShoppingInvoiceService {

    @Resource
    ShoppingInvoiceMapper shoppingInvoiceMapper;

    @Override
    public List<ShoppingInvoice> selectDataByQuery(Page<ShoppingReceivingAddress> page, ShoppingQuery query) {
        return shoppingInvoiceMapper.selectDataByQuery(page,query);
    }
}
