ServiceturnLog.php 395 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace app\admin\model;
  3. use think\Model;
  4. /**
  5. * 转接记录模型
  6. */
  7. class ServiceturnLog extends Model
  8. {
  9. /**
  10. * 计数
  11. *
  12. * @access public
  13. * @param mixed $where 条件
  14. * @return array 返回类型
  15. */
  16. public function countSlg($where=[])
  17. {
  18. $result = $this->where($where)->count();
  19. return $result;
  20. }//end countSlg()
  21. }