_getSelfMysql(), 't_first_topup', array( 'account_id' => myself()->_getAccountId(), ) ); return $row; } public static function add($accountId) { SqlHelper::upsert( myself()->_getMysql($accountId), 't_first_topup', array( 'account_id' => $accountId, ), array( ), array( 'account_id' => $accountId, 'createtime' => myself()->_getNowTime(), 'modifytime' => myself()->_getNowTime(), ) ); } public static function update($orderId, $fieldsKv) { SqlHelper::update( myself()->_getSelfMysql(), 't_first_topup', array( 'account_id' => myself()->_getAccountId() ), $fieldsKv ); } }