M3 Security Fixes for Pass 35
This commit is contained in:
@@ -33,13 +33,13 @@ class sentinelController extends Controller
|
||||
$time1 = date('His');
|
||||
|
||||
// Delete Records from ICM695M1 And ICM695M2
|
||||
$iCM695M1Del = DB::connection(config('m3.connection', 'pgsql'))->table('icm695m1')
|
||||
DB::connection(config('m3.connection', 'pgsql'))->table('icm695m1')
|
||||
->where('AYINTBOX', $aYINTBOX)
|
||||
->where('AYCO', $aYCO)
|
||||
->where('AYWHS', $aYWHS)
|
||||
->delete();
|
||||
|
||||
$iCM695M2Del = DB::connection(config('m3.connection', 'pgsql'))->table('icm695m2')
|
||||
DB::connection(config('m3.connection', 'pgsql'))->table('icm695m2')
|
||||
->where('AZINTBOX', $aYINTBOX)
|
||||
->where('AZCO', $aYCO)
|
||||
->where('AZWHS', $aYWHS)
|
||||
@@ -49,7 +49,7 @@ class sentinelController extends Controller
|
||||
$insertValues = "'$iCM695M1Sel->AYCO', '$iCM695M1Sel->AYWHS', '$iCM695M1Sel->AYSENTPKR', '$iCM695M1Sel->AYMACPKR', '$iCM695M1Sel->AYONO', '$iCM695M1Sel->AYRLNO', '$iCM695M1Sel->AYSHNO', '', 'Box $aYINTBOX emptied and repacked',
|
||||
'$timestamp', '$date1', '$time1', '$aYUSER','$timestamp', '$date1', '$time1', '$aYUSER','$aYINTBOX'";
|
||||
|
||||
$iCM689MInsert = DB::connection(config('m3.connection', 'pgsql'))->insert("INSERT INTO ICM689M
|
||||
DB::connection(config('m3.connection', 'pgsql'))->insert("INSERT INTO ICM689M
|
||||
(A7CO, A7WHS, A7SENTPKR, A7MACPKR, A7ONO, A7RLNO, A7SHNO, A7SOURCE, A7ERRMSG, A7DISRAITS, A7DISRAID, A7DISRAIT, A7DISRAIU, A7DISRESTS ,A7DISRESD ,A7DISREST ,A7DISRESU , A7SPR15A01)
|
||||
values ($insertValues)");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user