From dbc8eee2fc8c905dda739eda62a4359d69e78861 Mon Sep 17 00:00:00 2001 From: YCC Date: Thu, 27 Mar 2025 11:55:07 +0800 Subject: [PATCH] =?UTF-8?q?sql=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/models/infoStructures_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/infoStructures_model.php b/application/models/infoStructures_model.php index de7abd0d..6628f90f 100644 --- a/application/models/infoStructures_model.php +++ b/application/models/infoStructures_model.php @@ -229,7 +229,7 @@ class InfoStructures_model extends CI_Model $set_sql = "UPDATE infoStructures \n" . "SET is_parent_id = ?, \n" . " is_level = ?, \n" - . " is_path = ? \n" + . " is_path = ?, \n" . " is_sitecode = ? \n" . "WHERE is_id = ?"; $this->HT->query($set_sql, array($set_parent_id, $set_level, $set_path,$set_is_sitecode, $is_id)); @@ -258,7 +258,7 @@ class InfoStructures_model extends CI_Model $set_sql = "UPDATE infoStructures \n" . "SET is_parent_id = ?, \n" . " is_level = ?, \n" - . " is_path = ? \n" + . " is_path = ?, \n" . " is_sitecode = ? \n" . "WHERE is_id = ?"; $this->HT->query($set_sql, array($set_parent_id, $set_level, $set_path,$set_is_sitecode, $item->is_id));