public function UpdateBalance(Gyuser_Model_SupplierOperations $obj) { try { $table = $this->getDbTable(); $set = array('balance' => $obj->getBalance()); $where = array('id = ?' => $obj->getId()); $result = $table->update($set, $where); return $result; } catch (Exception $e) { echo $e; } }