ServiceLog.php 439 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace app\index\model;
  3. use think\Model;
  4. /**
  5. * 工单模型
  6. */
  7. class ServiceLog extends Model
  8. {
  9. /**
  10. * 修改工单
  11. *
  12. * @access public
  13. * @param mixed $where 条件
  14. * @param mixed $data 条件
  15. * @return array 返回类型
  16. */
  17. public function getEvaluate($where, $data)
  18. {
  19. $result = $this->where($where)->update($data);
  20. return $result;
  21. }//end getEvaluate()
  22. }