📜  codeigniter 3 限制 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:12.185000             🧑  作者: Mango

代码示例2
$this->db->select('ae_users.employee_id, ae_users.emp_name, ae_users.emp_name2, ae_users.emp_name3');
        $this->db->from('ae_users');                
        $this->db->where_in('ae_users.employee_id',$employee_ids);
     
        $query =$this->db->get();
             
        if ($query->num_rows()) {
            return $query->result_array();
        } else {
            return 0;
        }