| | |
| | | package com.ruoyi.production.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.production.bean.dto.ProductionOrderPickRecordDto; |
| | | import com.ruoyi.production.bean.vo.ProductionOrderPickRecordVo; |
| | | import com.ruoyi.production.mapper.ProductionOrderPickRecordMapper; |
| | | import com.ruoyi.production.pojo.ProductionOrderPickRecord; |
| | | import com.ruoyi.production.service.ProductionOrderPickRecordService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Collections; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @Service |
| | | public class ProductionOrderPickRecordServiceImpl extends ServiceImpl<ProductionOrderPickRecordMapper, ProductionOrderPickRecord> implements ProductionOrderPickRecordService { |
| | | |
| | | @Override |
| | | public List<ProductionOrderPickRecordVo> listFeedingRecord(ProductionOrderPickRecordDto dto) { |
| | | if (dto == null || dto.getProductionOrderId() == null || dto.getPickId() == null) { |
| | | return Collections.emptyList(); |
| | | } |
| | | return baseMapper.listFeedingRecord(dto); |
| | | } |
| | | } |