|
|
@@ -27,6 +27,7 @@ use App\Events\SendEmailEvent;
|
|
|
use App\Exceptions\Exception;
|
|
|
use App\Http\Controllers\api\thirdPart\haiq\PickStationController;
|
|
|
use App\Http\Controllers\api\thirdPart\hengli\PackageController;
|
|
|
+use App\Http\Controllers\api\thirdPart\weight\WeightBaseController;
|
|
|
use App\Http\Requests\ForeignHaiRobotic_taskUpdateRequest;
|
|
|
use App\Http\Requests\TestAaRequest;
|
|
|
use App\Imports\OrderTrackingImport;
|
|
|
@@ -1319,4 +1320,12 @@ where purch.islower=1 and deliver.id>'.$id);
|
|
|
dd($procurements);
|
|
|
}
|
|
|
|
|
|
+ public function pushToWmsWeight()
|
|
|
+ {
|
|
|
+ $orderPackages = OrderPackage::query()->where('measuring_machine_id',12)->where('uploaded_to_wms','!=','是')->whereNotNull('weight')->get();
|
|
|
+ $packageController = new WeightBaseController();
|
|
|
+ foreach ($orderPackages as $orderPackage) {
|
|
|
+ $packageController->activityWaveNoProcessing($orderPackage);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|