mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-31 05:25:32 +08:00
32 lines
776 B
PHP
32 lines
776 B
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
class financebase_mdl_bill_import_summary extends dbeav_model{
|
||
|
||
public $filter_use_like = true;
|
||
|
||
|
||
/**
|
||
* _filter
|
||
* @param mixed $filter filter
|
||
* @param mixed $tableAlias tableAlias
|
||
* @param mixed $baseWhere baseWhere
|
||
* @return mixed 返回值
|
||
*/
|
||
public function _filter($filter, $tableAlias = NULL, $baseWhere = NULL){
|
||
|
||
return parent::_filter($filter, $tableAlias, $baseWhere).$where;
|
||
}
|
||
|
||
public function getRow($cols='*',$filter=array())
|
||
{
|
||
$sql = "SELECT $cols FROM ".$this->table_name(true)." WHERE ".$this->filter($filter);
|
||
return $this->db->selectrow($sql);
|
||
}
|
||
|
||
|
||
}
|