| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?php
- namespace App\Http\Controllers;
- use App\Authority;
- use App\Commodity;
- use App\CommodityMaterialBoxModel;
- use App\Components\AsyncResponse;
- use App\Components\ErrorPush;
- use App\ErrorTemp;
- use App\Feature;
- use App\Http\ApiControllers\LoginController;
- use App\Http\Requests\OrderDelivering;
- use App\Jobs\CacheShelfTaskJob;
- use App\Jobs\OrderCreateInstantBill;
- use App\Jobs\OrderCreateWaybill;
- use App\Jobs\SettlementBillReportTask;
- use App\Jobs\StoreCreateInstantBill;
- use App\Jobs\WeightUpdateInstantBill;
- use App\MaterialBox;
- use App\MaterialBoxModel;
- use App\Order;
- use App\OrderPackage;
- use App\Owner;
- use App\OwnerFeeDetail;
- use App\OwnerFeeDetailLogistic;
- use App\OwnerFeeExpress;
- use App\OwnerFeeLogistic;
- use App\OwnerFeeOperation;
- use App\OwnerFeeOperationDetail;
- use App\OwnerFeeStorage;
- use App\OwnerPriceOperation;
- use App\OrderPackageCountingRecord;
- use App\RejectedBill;
- use App\Services\CacheShelfService;
- use App\Services\ForeignHaiRoboticsService;
- use App\Services\OrderPackageReceivedSyncService;
- use App\Services\OrderService;
- use App\Services\OwnerFeeTotalService;
- use App\Services\OwnerLogisticFeeReportService;
- use App\Services\OwnerPriceOperationService;
- use App\Services\OwnerStoreFeeReportService;
- use App\Services\OwnerStoreOutFeeReportService;
- use App\Services\StationService;
- use App\Services\StorageService;
- use App\Station;
- use App\StationTask;
- use App\StationTaskMaterialBox;
- use App\Store;
- use App\TaskTransaction;
- use App\Unit;
- use App\User;
- use App\UserDetail;
- use App\UserDutyCheck;
- use App\ValueStore;
- use App\Waybill;
- use Carbon\Carbon;
- use Carbon\CarbonPeriod;
- use Firebase\JWT\JWT;
- use Illuminate\Database\Eloquent\Collection;
- use Illuminate\Foundation\Http\FormRequest;
- use Illuminate\Http\Request;
- use Illuminate\Support\Facades\Cache;
- use Illuminate\Support\Facades\Auth;
- use Illuminate\Support\Facades\Cookie;
- use Illuminate\Support\Facades\DB;
- use Illuminate\Support\Facades\Http;
- use Illuminate\Support\Facades\URL;
- use Illuminate\Support\Facades\Validator;
- use Laravel\Horizon\Events\JobFailed;
- use PhpOffice\PhpSpreadsheet\Calculation\Web\Service;
- class TestController extends Controller
- {
- use AsyncResponse, ErrorPush;
- const ASNREFERENCE_2 = 'ASNREFERENCE2';
- public function __construct()
- {
- $this->data["active_test"] = "active";
- }
- public function method(Request $request, $method)
- {
- return call_user_func([$this, $method], $request);
- }
- public function test()
- {
- dd(Waybill::query()->where("created_at",">=","2021-08-31 00:00:00")
- ->where("owner_id",3)->where("origination","松江泗砖仓")
- ->where("type","德邦物流")
- ->update([
- "origination" => "松江区九干仓"
- ]));
- }
- }
|