package com.hzs.ground.postage.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzs.common.domain.sale.ext.SaOrderExt;
import com.hzs.common.domain.sale.ext.SaOrderItemsExt;
import com.hzs.common.domain.scm.postage.ThSupplierPostage;
import com.hzs.common.domain.scm.postage.ext.ThSupplierPostageExt;
import com.hzs.ground.postage.mapper.ThSupplierPostageMapper;
import com.hzs.ground.postage.param.SupplierPostageParam;
import com.hzs.ground.postage.service.IThSupplierPostageService;
import com.hzs.ground.postage.vo.SupplierPostageVo;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hzs
 * @since 2024-04-19
 */
@Service
public class ThSupplierPostageServiceImpl extends ServiceImpl<ThSupplierPostageMapper, ThSupplierPostage> implements IThSupplierPostageService {

    @Override
    public List<ThSupplierPostageExt> querySupplierPostageByOrder(List<SaOrderItemsExt> orderItemsExtList){
        return baseMapper.querySupplierPostageByOrder(orderItemsExtList);
    }
    /**
     * 查询列表
     * @return
     */
    @Override
    public List<SupplierPostageVo> selectByQueryList(SupplierPostageParam supplierPostageParam ) {
        return baseMapper.selectByQueryList(supplierPostageParam);
    }

    @Override
    public SupplierPostageVo selectByPkId(Integer pkSupplierPostage) {
        return baseMapper.selectByPkId(pkSupplierPostage);
    }
}
