Update
This commit is contained in:
@@ -11,6 +11,8 @@ use Exception;
|
||||
use App\DataListiner;
|
||||
use App\Periksa;
|
||||
use App\RekapAntibiotik;
|
||||
use App\PendaftaranOnListiner;
|
||||
|
||||
// Proses untuk Growth and Detection Result
|
||||
function processGrowthDetectionResult($rawData){
|
||||
// Format: R|1| ^ ^ ^GND_MGIT^430100001234|INST_POSITIVE ^87| ...
|
||||
@@ -636,7 +638,11 @@ class AstmMessageService
|
||||
'status' => 'Data BD di Terima',
|
||||
]);
|
||||
Log::info("Data ASTM BD ", $resultSample->toArray());
|
||||
|
||||
PendaftaranOnListiner::where('rnoreg', $data->no_id)->update([
|
||||
'rtglast' => date('Y-m-d'),
|
||||
'flg_vitek1' => 0,
|
||||
'flg_vitek2' => 0
|
||||
]);
|
||||
} else {
|
||||
DataListiner::where('urut', $data->urut)->update([
|
||||
'processed' => 9
|
||||
@@ -684,7 +690,11 @@ class AstmMessageService
|
||||
'status' => 'Data BD di Terima',
|
||||
]);
|
||||
Log::info("Data ASTM BD ", $resultSample->toArray());
|
||||
|
||||
PendaftaranOnListiner::where('rnoreg', $data->no_id)->update([
|
||||
'rtglast' => date('Y-m-d'),
|
||||
'flg_vitek1' => 0,
|
||||
'flg_vitek2' => 0
|
||||
]);
|
||||
} else {
|
||||
DB::table('lis_phoenix')->where('id', $data->id)->update([
|
||||
'processed' => 9
|
||||
|
||||
Reference in New Issue
Block a user