|
|
@@ -745,7 +745,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();
|
|
|
@@ -772,7 +772,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();
|