コード例 #1
0
 /**
  * 获取审核结果数量
  * @param    string $condition 条件
  * @return   integer 返回数量
  * @author 彭东江
  * @dateTime 2015-08-26
  */
 public function getCount($condition = 'state > -7')
 {
     $count = Mbuslicense::count(array($condition));
     return $this->outputData($count);
 }