Commit 948018da authored by Sarun Mungthanya's avatar Sarun Mungthanya
Browse files

issue truncate goods

parent 06f35752
......@@ -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)));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment