Update besar apk finance

This commit is contained in:
Wian Drs
2026-09-11 16:03:00 +07:00
parent d42483b350
commit 4ef15c22ae
897 changed files with 98056 additions and 15979 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class AccountModel extends CI_Model
{
public function existingIds(array $ids)
{
if (empty($ids)) {
return array();
}
$rows = $this->db
->select('id')
->where_in('id', array_values(array_unique($ids)))
->where('is_active', 1)
->where('allow_posting', 1)
->get('accounts')
->result_array();
return array_map('intval', array_column($rows, 'id'));
}
}