Kirin 1 anno fa
parent
commit
d1010497ba
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      app/controller/api/v1/PublicController.php

+ 5 - 0
app/controller/api/v1/PublicController.php

@@ -135,6 +135,11 @@ class PublicController extends BaseController
 //        var_dump(AwardIntegral::getLastSql());
 //        $service->daySend(true);
 
+        $orders = StoreOrder::where('id', '>', 1)->where('pay_time', '>', '1721215334')->where('supplier_id', '>', 0)->where('is_del', 0)->where('is_system_del', 0)->where('refund_status', 0)->where('paid', 1)->where('pid', '>=', 0)->select();
+        foreach ($orders as $v) {
+            $supplierFlowServices = app()->make(SupplierFlowingWaterServices::class);
+            $supplierFlowServices->setSupplierFinance($v['id']);
+        }
     }