Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sarun Mungthanya
SpnPatch-Laravel
Commits
e64571fb
Commit
e64571fb
authored
Dec 06, 2024
by
Sarun Mungthanya
Browse files
issue table insert
parent
d4fa85b9
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/SmartUpdateController.php
View file @
e64571fb
...
@@ -277,11 +277,11 @@ class SmartUpdateController extends Controller
...
@@ -277,11 +277,11 @@ class SmartUpdateController extends Controller
$serverchk
=
$resultImport
[
"total"
];
$serverchk
=
$resultImport
[
"total"
];
$SQL1
=
$resultImport
[
"sql"
];
$SQL1
=
$resultImport
[
"sql"
];
$sourceTable
=
'center_conf_exchangerate_export'
;
$sourceTable
1
=
'center_conf_exchangerate_export'
;
$destinationTable
=
'conf_exchangerate_export'
;
$destinationTable
2
=
'conf_exchangerate_export'
;
$resultExport
=
static
::
generateInsertSQLWithCount
(
$sourceTable
,
$destinationTable
,
$conditionColumn
,
$conditionValue
,
$additionalColumns
);
$resultExport
=
static
::
generateInsertSQLWithCount
(
$sourceTable
,
$destinationTable
,
$conditionColumn
,
$conditionValue
,
$additionalColumns
);
$serverchk
=
$result
Im
port
[
"total"
];
$serverchk
=
$result
Ex
port
[
"total"
];
$SQL2
=
$result
Im
port
[
"sql"
];
$SQL2
=
$result
Ex
port
[
"sql"
];
}
}
$patchCode
=
$patchDetails
->
PATCHCODE
;
$patchCode
=
$patchDetails
->
PATCHCODE
;
$patchCode
=
str_replace
(
'updatePatchFile("$$file_name_0", "$$file_data_0");'
,
''
,
$patchCode
);
$patchCode
=
str_replace
(
'updatePatchFile("$$file_name_0", "$$file_data_0");'
,
''
,
$patchCode
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment