package com.dgtly.order.service.impl;

import java.util.List;
import com.dgtly.common.utils.DateUtils;
import com.dgtly.order.domain.SalesOrderBase;
import com.dgtly.order.mapper.SalesOrderBaseMapper;
import com.dgtly.order.service.ISalesOrderBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dgtly.common.core.text.Convert;

/**
 * 订单基础 Service业务层处理
 * 
 * @author dgtly
 * @date 2023-05-23
 */
@Service
public class SalesOrderBaseServiceImpl implements ISalesOrderBaseService
{
    @Autowired
    private SalesOrderBaseMapper salesOrderBaseMapper;

    /**
     * 查询订单基础 
     * 
     * @param id 订单基础 ID
     * @return 订单基础 
     */
    @Override
    public SalesOrderBase selectSalesOrderBaseById(Long id)
    {
        return salesOrderBaseMapper.selectSalesOrderBaseById(id);
    }

    /**
     * 查询订单基础 列表
     * 
     * @param salesOrderBase 订单基础 
     * @return 订单基础 
     */
    @Override
    public List<SalesOrderBase> selectSalesOrderBaseList(SalesOrderBase salesOrderBase)
    {
        return salesOrderBaseMapper.selectSalesOrderBaseList(salesOrderBase);
    }


}
