|
|
|
@ -26,6 +26,7 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Map; |
|
|
|
|
import java.util.Objects; |
|
|
|
|
|
|
|
|
|
@Log4j2 |
|
|
|
@ -139,8 +140,18 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
|
|
|
|
|
throw new CustomerException(403,"订单信息不存在"); |
|
|
|
|
} |
|
|
|
|
String serviceNumber = stockArticleEntity.getServiceNumber();//服务号
|
|
|
|
|
List<UpShelfDataVO> ls = distributionStockArticleClient.fingListByServiceNumber(serviceNumber); |
|
|
|
|
return ls; |
|
|
|
|
List<Map> ls = distributionStockArticleClient.fingListByServiceNumber(serviceNumber); |
|
|
|
|
List<UpShelfDataVO> list = new ArrayList<>(); |
|
|
|
|
for (Map map:ls){ |
|
|
|
|
UpShelfDataVO upShelfDataVO = new UpShelfDataVO(); |
|
|
|
|
upShelfDataVO.setServiceNum((String) map.get("serviceNum")); |
|
|
|
|
upShelfDataVO.setOrderCode((String) map.get("orderCode")); |
|
|
|
|
upShelfDataVO.setNum((Integer) map.get("num")); |
|
|
|
|
upShelfDataVO.setCompleteSet((Integer) map.get("completeSet")); |
|
|
|
|
list.add(upShelfDataVO); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return list; |
|
|
|
|
}else if(upshelfScanType == 2){ |
|
|
|
|
DistributionStockArticleEntity stockArticleEntity = distributionStockArticleClient.findStockArticleByOrderCode(code); |
|
|
|
|
if(Objects.isNull(stockArticleEntity)){ |
|
|
|
|