add index is_admin column, and more improving.

This commit is contained in:
BJRambo 2016-03-14 11:10:43 +09:00
parent e9acd7fe14
commit 39cc333f33
5 changed files with 14 additions and 16 deletions

View file

@ -1576,9 +1576,15 @@ class documentModel extends document
}
$args = new stdClass();
$args->document_srl = $document_srl;
$output = executeQueryArray('document.getUpdateLogAdminisExists', $args);
$args->is_admin = 'Y';
$output = executeQuery('document.getUpdateLogAdminisExists', $args);
return $output->data;
if($output->data->count > 0)
{
return true;
}
return false;
}
}
/* End of file document.model.php */