public function sum($args = "") { //设置表关联 $this->setJoinTable(); $this->init(); return parent::sum($args); }