| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.stream.Collectors; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<MesWmProductSalesRespDTO> getProductSalesListBySaleOrderIds(Collection<Long> saleOrderIds) { |
| | | if (CollUtil.isEmpty(saleOrderIds)) { |
| | | return List.of(); |
| | | } |
| | | return convertList(productSalesMapper.selectListBySaleOrderIds(saleOrderIds)); |
| | | } |
| | | |
| | | @Override |
| | | public List<MesWmProductSalesRespDTO> getProductSalesListByClientId(Long clientId) { |
| | | if (clientId == null) { |
| | | return List.of(); |