public function userChangeStatus($method = null) { $this->_table = 'loan_rebate_user'; parent::changeStatus($method); }
public function changeStatus($method = null, $obj = '') { $map = ['lottery' => 'app_lottery', 'goods' => 'app_lottery_goods', 'log' => 'app_lottery_log']; if (isset($map[$obj])) { $this->_table = $map[$obj]; } parent::changeStatus($method); }
public function changeStatus($method = null, $obj = '') { $this->_table = $obj == 'goods' ? 'special_lottery_goods' : $this->_table; parent::changeStatus($method); }
public function optionChangeStatus($method = null) { $this->_table = 'common_vote_option'; parent::changeStatus($method); }