This commit is contained in:
@@ -5,6 +5,19 @@ use CodeIgnier\Model;
|
||||
|
||||
class FaxModel extends Model
|
||||
{
|
||||
/**
|
||||
* FAX 내용중 하나만 가져오기
|
||||
*/
|
||||
public function selectFax($faxSq)
|
||||
{
|
||||
$sql = "SELECT mid, caller_no, recv_time, fax_sq, file_path, file_name, thumbnail, img_width, img_height, img_size" .
|
||||
" FROM fax_imgs" .
|
||||
" WHERE fax_sq = ?";
|
||||
$data = array($faxSq);
|
||||
$query = $this->db->query($sql, $data);
|
||||
return $query->getRowArray();
|
||||
}
|
||||
|
||||
public function selectFaxListNotExistsThumb()
|
||||
{
|
||||
helper('cron');
|
||||
|
||||
Reference in New Issue
Block a user