|
|
@ -93,6 +93,13 @@ class Information_model extends CI_Model {
|
|
|
|
$this->orderBy = ' ORDER BY is1.is_level ASC, is1.is_sort ASC,is1.is_path ASC ';
|
|
|
|
$this->orderBy = ' ORDER BY is1.is_level ASC, is1.is_sort ASC,is1.is_path ASC ';
|
|
|
|
return $this->GetList();
|
|
|
|
return $this->GetList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//根据节点ID列表获取信息
|
|
|
|
|
|
|
|
function get_detail_by_ids($is_ids) {
|
|
|
|
|
|
|
|
$this->init();
|
|
|
|
|
|
|
|
$this->is_id_array = " AND is1.is_id IN ($is_ids) ";
|
|
|
|
|
|
|
|
$this->orderBy = ' ORDER BY is1.is_level ASC, is1.is_sort ASC,is1.is_path ASC ';
|
|
|
|
|
|
|
|
return $this->GetList();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//根据根节点ID获取子节点列表
|
|
|
|
//根据根节点ID获取子节点列表
|
|
|
|
function get_list_by_id($is_parent_id, $level = false) {
|
|
|
|
function get_list_by_id($is_parent_id, $level = false) {
|
|
|
@ -104,6 +111,7 @@ class Information_model extends CI_Model {
|
|
|
|
$this->orderBy = ' ORDER BY is1.is_level ASC, is1.is_sort ASC,is1.is_path ASC ';
|
|
|
|
$this->orderBy = ' ORDER BY is1.is_level ASC, is1.is_sort ASC,is1.is_path ASC ';
|
|
|
|
return $this->GetList();
|
|
|
|
return $this->GetList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function Detail($ic_url_is_id) {
|
|
|
|
function Detail($ic_url_is_id) {
|
|
|
|
if (empty($ic_url_is_id)) {
|
|
|
|
if (empty($ic_url_is_id)) {
|
|
|
|