|
|
@ -6455,7 +6455,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private String getUnit(Long stockArticleId) { |
|
|
|
private String getUnit(Long stockArticleId) { |
|
|
|
List<DistributionParcelListEntity> list = distributionParcelListService.list(Wrappers.<DistributionParcelListEntity>query().lambda().eq(DistributionParcelListEntity::getStockArticleId, stockArticleId)); |
|
|
|
List<DistributionParcelListEntity> list = distributionParcelListService.list(Wrappers.<DistributionParcelListEntity>query().select("DISTINCT material_unit").lambda().eq(DistributionParcelListEntity::getStockArticleId, stockArticleId)); |
|
|
|
if (!list.isEmpty()) { |
|
|
|
if (!list.isEmpty()) { |
|
|
|
StringBuffer str = new StringBuffer(); |
|
|
|
StringBuffer str = new StringBuffer(); |
|
|
|
list.forEach(i -> { |
|
|
|
list.forEach(i -> { |
|
|
|