|
|
@@ -3,12 +3,10 @@
|
|
|
namespace App\Services;
|
|
|
|
|
|
|
|
|
-use App\OracleDocOrderDeliveryInfo;
|
|
|
use App\OracleDOCOrderHeader;
|
|
|
use App\OwnerLogisticPrintTemplate;
|
|
|
use App\Services\Interfaces\DeliveryInterface;
|
|
|
use App\Traits\DeliveryProcess;
|
|
|
-use App\Traits\DrawImage;
|
|
|
use Illuminate\Database\Query\Builder;
|
|
|
use Illuminate\Support\Str;
|
|
|
|
|
|
@@ -22,7 +20,6 @@ class SFQHDDeliveryService implements DeliveryInterface
|
|
|
$oracleDocOrderHeaders = OracleDOCOrderHeader::query()
|
|
|
->whereIn('deliveryNo', $logistic_number)
|
|
|
->whereIn('ConsigneeId', ["SFQHD",'SFSYQHD','SFTHQHD'])
|
|
|
-// ->where('SoStatus', '<>', '90')
|
|
|
->get();
|
|
|
|
|
|
return$oracleDocOrderHeaders->map(function ($item) {
|
|
|
@@ -52,6 +49,7 @@ class SFQHDDeliveryService implements DeliveryInterface
|
|
|
$image = $this->draw($item['delivery'], $item, null);
|
|
|
$path = '';
|
|
|
$this->saveImage($image, $path);
|
|
|
+ app(DeliveryService::class)->pushClearCache($path);
|
|
|
return $this->readImageBase64($path);
|
|
|
}
|
|
|
|