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
1ba41d86
Commit
1ba41d86
authored
Dec 18, 2024
by
Sarun Mungthanya
Browse files
issue masterfile truncate this file encod with tis-620
parent
6f7eb5eb
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/MasterFileController.php
View file @
1ba41d86
...
...
@@ -127,9 +127,8 @@ class MasterFileController extends Controller
$partPatch
=
'Part '
.
$part
++
;
}
$patchCode
=
''
;
if
(
$truncate
&&
$part
==
1
&&
$fileFormat
->
formatservice_ID
==
196
)
{
if
(
$truncate
&&
$part
==
2
&&
$fileFormat
->
formatservice_ID
==
196
)
{
$patchCode
.
=
'$sql = "truncate table master_permissiongoods";
exec_query($sql);
if ($DBTYPE == "MSSQL") {
...
...
@@ -145,9 +144,9 @@ class MasterFileController extends Controller
}
}
'
;
}
else
if
(
$truncate
&&
$part
==
1
&&
$fileFormat
->
formatservice_ID
==
32
)
{
}
else
if
(
$truncate
&&
$part
==
2
&&
$fileFormat
->
formatservice_ID
==
32
)
{
$patchCode
.
=
'$sql="truncate table master_country";exec_query($sql);'
;
}
else
if
(
$truncate
&&
$part
==
1
&&
$fileFormat
->
formatservice_ID
==
63
)
{
}
else
if
(
$truncate
&&
$part
==
2
&&
$fileFormat
->
formatservice_ID
==
63
)
{
$patchCode
.
=
'$sql="truncate table master_container_type";exec_query($sql);'
;
}
...
...
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