Przeglądaj źródła

修改模型日志

LD 5 lat temu
rodzic
commit
0fb16c7f71

+ 2 - 2
app/Http/Controllers/TestController.php

@@ -768,7 +768,7 @@ class TestController extends Controller
 
     public function reNewBatches3()
     {
-        $batches = Batch::query()->where('id', '>', 95812)->get('code');
+        $batches = Batch::query()->where('id', '>', 97397)->get('code');
         $batchCodes = $batches->map(function ($batch) {
             return $batch['code'];
         })->toArray();
@@ -795,7 +795,7 @@ class TestController extends Controller
 //        dd($logs);
         foreach ($batchCodes as $code) {
 //            $request=Cache::get('temp'.$code)['description'];
-            $request = Log::query()->select('description')->where('CREATED_AT', '>=', '2021-04-09')
+            $request = Log::query()->select('description')->where('CREATED_AT', '>=', '2021-04-14')
                 ->where('method', "issued_newBatch")
                 ->where('description', 'like', "%{$code}%")
                 ->first();

+ 1 - 1
app/OwnerFeeDetail.php

@@ -9,7 +9,7 @@ use App\Traits\ModelLogChanging;
 
 class OwnerFeeDetail extends Model
 {
-    use ModelLogChanging;
+//    use ModelLogChanging;
 
     protected $fillable = [
         "owner_id",         //货主ID