|
|
@@ -95,67 +95,5 @@ class TestController extends Controller
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- public function sysnc(){
|
|
|
- $items = RejectedBill::query()->where("created_at",">=",'2022-10-01')->get();
|
|
|
- /** @var OrderRejectedBillRelationService $service */
|
|
|
- $service = app(OrderRejectedBillRelationService::class);
|
|
|
- foreach ($items as $item){
|
|
|
- $service->rejectedBillSyncOrder($item);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- public function sync01(){
|
|
|
- $items = RejectedBill::query()->where("created_at",">=",'2022-10-01')->where("created_at",">=",'2022-10-05')->get();
|
|
|
- foreach ($items as $item) {
|
|
|
- SyncOrderRejectingStatusJob::dispatch($item);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- public function sync0(){
|
|
|
- $items = RejectedBill::query()->where("created_at",">=",'2022-10-05')->where("created_at",">=",'2022-10-11')->get();
|
|
|
- foreach ($items as $item) {
|
|
|
- SyncOrderRejectingStatusJob::dispatch($item);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- public function sync1(){
|
|
|
- $items = RejectedBill::query()->where("created_at",">=",'2022-10-11')->where("created_at",">=",'2022-10-15')->get();
|
|
|
- foreach ($items as $item) {
|
|
|
- SyncOrderRejectingStatusJob::dispatch($item);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- public function sync2(){
|
|
|
- $items = RejectedBill::query()->where("created_at",">=",'2022-10-15')->where("created_at",">=",'2022-10-20')->get();
|
|
|
- foreach ($items as $item) {
|
|
|
- SyncOrderRejectingStatusJob::dispatch($item);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- public function sync3(){
|
|
|
- $items = RejectedBill::query()->where("created_at",">=",'2022-10-20')->where("created_at",">=",'2022-10-25')->get();
|
|
|
- foreach ($items as $item) {
|
|
|
- SyncOrderRejectingStatusJob::dispatch($item);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- public function sync4(){
|
|
|
- $items = RejectedBill::query()->where("created_at",">=",'2022-10-25')->where("created_at",">=",'2022-10-30')->get();
|
|
|
- foreach ($items as $item) {
|
|
|
- SyncOrderRejectingStatusJob::dispatch($item);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- public function sync5(){
|
|
|
- $items = RejectedBill::query()->where("created_at",">=",'2022-10-30')->get();
|
|
|
- foreach ($items as $item) {
|
|
|
- SyncOrderRejectingStatusJob::dispatch($item);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
|