/**
 * @filename:PurchaseOrderLogisticsInformationServiceImpl 2024-09-10
 * @project KJT v1.0.0 Copyright(c) 2024 wanglang Co. Ltd. All right reserved.
 */
package com.trade.service.order.service.impl;

import com.trade.service.order.domain.PurchaseOrderLogistics;
import com.trade.service.order.dto.PurchaseOrderLogisticsSearchDto;
import com.trade.service.order.mapper.PurchaseOrderLogisticsMapper;
import com.trade.service.order.service.PurchaseOrderLogisticsService;
import com.trade.service.order.vo.PurchaseOrderLogisticsPageVo;
import com.trade.service.order.vo.PurchaseOrderLogisticsVo;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description:采购订单物流信息服务实现
 * @version: v1.0.0
 * @author: wanglang
 */
@Service
public class PurchaseOrderLogisticsServiceImpl extends ServiceImpl<PurchaseOrderLogisticsMapper, PurchaseOrderLogistics> implements PurchaseOrderLogisticsService {

    @Override
    public PurchaseOrderLogisticsVo queryByPurchaseOrderId(Long purchaseOrderId) {
        return this.baseMapper.selectByPurchaseOrderId(purchaseOrderId);
    }

    @Override
    public List<PurchaseOrderLogisticsPageVo> queryOrderLogisticsByPage(
            PurchaseOrderLogisticsSearchDto orderLogisticsSearch) {
        return this.baseMapper.selectOrderLogisticsByPage(orderLogisticsSearch);
    }
}
