Commit 8366d3fe authored by wxl's avatar wxl

no message

parent af861f51
......@@ -154,7 +154,7 @@ class SalesSendOrderController extends AbstractActionController
$list=array();
foreach ($sendOrderList as $key=>$val){
$ex= $exWarehouseOrder=$this->entityManager->getRepository(AllExWarehouseOrderGoods::class)->findBy(["sendOrderId"=>$val->getSendOrderId()]);
$ex= $exWarehouseOrder=$this->entityManager->getRepository(AllExWarehouseOrderGoods::class)->findBy(["exWarehouseOrderId"=>$val->getSendOrderId(),'type'=>'send']);
if(count($exWarehouseOrder) ==0){
$exWarehouseOrder=$this->entityManager->getRepository(SalesOrderGoods::class)->findBy(["salesOrderId"=>$val->getSalesOrderId()]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment