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
948018da
Commit
948018da
authored
Dec 16, 2024
by
Sarun Mungthanya
Browse files
issue truncate goods
parent
06f35752
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/MasterFileController.php
View file @
948018da
...
...
@@ -129,7 +129,7 @@ class MasterFileController extends Controller
$patchCode
=
''
;
if
(
$truncateGoods
)
{
if
(
$truncateGoods
&&
$part
==
1
)
{
$patchCode
.
=
'$sql = "truncate table master_permissiongoods";
exec_query($sql);
if ($DBTYPE == "MSSQL") {
...
...
@@ -146,6 +146,7 @@ class MasterFileController extends Controller
}
'
;
}
$ALL64
=
base64_encode
(
gzcompress
(
var_export
(
$sqlPack
,
true
)));
...
...
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