package com.wms.service.serviceImplements;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wms.entity.table.OutsideVehicles;
import com.wms.mapper.OutsideVehiclesMapper;
import com.wms.service.OutsideVehiclesService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 流转中的载具物料服务实现
 */
@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class OutsideVehiclesServiceImpl extends ServiceImpl<OutsideVehiclesMapper, OutsideVehicles> implements OutsideVehiclesService {
    private final OutsideVehiclesMapper outsideVehiclesMapper;

    /**
     * 查询流转中的箱子列表
     * @return 箱子列表
     */
    @Override
    public List<String> selectDistinctVehicles() {
        return outsideVehiclesMapper.selectDistinctVehicles();
    }
}
