constsqlStr='select * from (SELECT R.*, "row_number"() OVER(PARTITION BY R.user_id ORDER BY R."time" DESC) AS NEWINDEX FROM report AS R ) AS NR WHERE NEWINDEX = 1'
[32m' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n'[39m +
[32m' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n'[39m +
[32m' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n'[39m +
[32m' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n'[39m +
[32m' at Request.emit (events.js:314:20)\n'[39m +
[32m' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n'[39m +
[32m' at ClientRequest.emit (events.js:314:20)\n'[39m +
[32m' at Socket.socketErrorListener (_http_client.js:427:9)\n'[39m +
[32m' at Socket.emit (events.js:314:20)\n'[39m +
[32m' at emitErrorNT (internal/streams/destroy.js:92:8)\n'[39m +
[32m' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n'[39m +
[32m' at processTicksAndRejections (internal/process/task_queues.js:84:21)'[39m
[32m' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n'[39m +
[32m' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n'[39m +
[32m' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n'[39m +
[32m' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n'[39m +
[32m' at Request.emit (events.js:314:20)\n'[39m +
[32m' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n'[39m +
[32m' at ClientRequest.emit (events.js:314:20)\n'[39m +
[32m' at Socket.socketErrorListener (_http_client.js:427:9)\n'[39m +
[32m' at Socket.emit (events.js:314:20)\n'[39m +
[32m' at emitErrorNT (internal/streams/destroy.js:92:8)\n'[39m +
[32m' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n'[39m +
[32m' at processTicksAndRejections (internal/process/task_queues.js:84:21)'[39m
[32m' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n'[39m +
[32m' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n'[39m +
[32m' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n'[39m +
[32m' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n'[39m +
[32m' at Request.emit (events.js:314:20)\n'[39m +
[32m' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n'[39m +
[32m' at ClientRequest.emit (events.js:314:20)\n'[39m +
[32m' at Socket.socketErrorListener (_http_client.js:427:9)\n'[39m +
[32m' at Socket.emit (events.js:314:20)\n'[39m +
[32m' at emitErrorNT (internal/streams/destroy.js:92:8)\n'[39m +
[32m' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n'[39m +
[32m' at processTicksAndRejections (internal/process/task_queues.js:84:21)'[39m
[32m' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n'[39m +
[32m' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n'[39m +
[32m' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n'[39m +
[32m' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n'[39m +
[32m' at Request.emit (events.js:314:20)\n'[39m +
[32m' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n'[39m +
[32m' at ClientRequest.emit (events.js:314:20)\n'[39m +
[32m' at Socket.socketErrorListener (_http_client.js:427:9)\n'[39m +
[32m' at Socket.emit (events.js:314:20)\n'[39m +
[32m' at emitErrorNT (internal/streams/destroy.js:92:8)\n'[39m +
[32m' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n'[39m +
[32m' at processTicksAndRejections (internal/process/task_queues.js:84:21)'[39m
[32m' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n'[39m +
[32m' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n'[39m +
[32m' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n'[39m +
[32m' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n'[39m +
[32m' at Request.emit (events.js:314:20)\n'[39m +
[32m' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n'[39m +
[32m' at ClientRequest.emit (events.js:314:20)\n'[39m +
[32m' at Socket.socketErrorListener (_http_client.js:427:9)\n'[39m +
[32m' at Socket.emit (events.js:314:20)\n'[39m +
[32m' at emitErrorNT (internal/streams/destroy.js:92:8)\n'[39m +
[32m' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n'[39m +
[32m' at processTicksAndRejections (internal/process/task_queues.js:84:21)'[39m
[32m' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n'[39m +
[32m' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n'[39m +
[32m' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n'[39m +
[32m' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n'[39m +
[32m' at Request.emit (events.js:314:20)\n'[39m +
[32m' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n'[39m +
[32m' at ClientRequest.emit (events.js:314:20)\n'[39m +
[32m' at Socket.socketErrorListener (_http_client.js:427:9)\n'[39m +
[32m' at Socket.emit (events.js:314:20)\n'[39m +
[32m' at emitErrorNT (internal/streams/destroy.js:92:8)\n'[39m +
[32m' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n'[39m +
[32m' at processTicksAndRejections (internal/process/task_queues.js:84:21)'[39m
[32m' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n'[39m +
[32m' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n'[39m +
[32m' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n'[39m +
[32m' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n'[39m +
[32m' at Request.emit (events.js:314:20)\n'[39m +
[32m' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n'[39m +
[32m' at ClientRequest.emit (events.js:314:20)\n'[39m +
[32m' at Socket.socketErrorListener (_http_client.js:427:9)\n'[39m +
[32m' at Socket.emit (events.js:314:20)\n'[39m +
[32m' at emitErrorNT (internal/streams/destroy.js:92:8)\n'[39m +
[32m' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n'[39m +
[32m' at processTicksAndRejections (internal/process/task_queues.js:84:21)'[39m
[32m' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n'[39m +
[32m' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n'[39m +
[32m' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n'[39m +
[32m' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n'[39m +
[32m' at Request.emit (events.js:314:20)\n'[39m +
[32m' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n'[39m +
[32m' at ClientRequest.emit (events.js:314:20)\n'[39m +
[32m' at Socket.socketErrorListener (_http_client.js:427:9)\n'[39m +
[32m' at Socket.emit (events.js:314:20)\n'[39m +
[32m' at emitErrorNT (internal/streams/destroy.js:92:8)\n'[39m +
[32m' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n'[39m +
[32m' at processTicksAndRejections (internal/process/task_queues.js:84:21)'[39m
[32m' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n'[39m +
[32m' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n'[39m +
[32m' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n'[39m +
[32m' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n'[39m +
[32m' at Request.emit (events.js:314:20)\n'[39m +
[32m' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n'[39m +
[32m' at ClientRequest.emit (events.js:314:20)\n'[39m +
[32m' at Socket.socketErrorListener (_http_client.js:427:9)\n'[39m +
[32m' at Socket.emit (events.js:314:20)\n'[39m +
[32m' at emitErrorNT (internal/streams/destroy.js:92:8)\n'[39m +
[32m' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n'[39m +
[32m' at processTicksAndRejections (internal/process/task_queues.js:84:21)'[39m
[32m' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n'[39m +
[32m' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n'[39m +
[32m' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n'[39m +
[32m' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n'[39m +
[32m' at Request.emit (events.js:314:20)\n'[39m +
[32m' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n'[39m +
[32m' at ClientRequest.emit (events.js:314:20)\n'[39m +
[32m' at Socket.socketErrorListener (_http_client.js:427:9)\n'[39m +
[32m' at Socket.emit (events.js:314:20)\n'[39m +
[32m' at emitErrorNT (internal/streams/destroy.js:92:8)\n'[39m +
[32m' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n'[39m +
[32m' at processTicksAndRejections (internal/process/task_queues.js:84:21)'[39m
[32m' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n'[39m +
[32m' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n'[39m +
[32m' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n'[39m +
[32m' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n'[39m +
[32m' at Request.emit (events.js:314:20)\n'[39m +
[32m' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n'[39m +
[32m' at ClientRequest.emit (events.js:314:20)\n'[39m +
[32m' at Socket.socketErrorListener (_http_client.js:427:9)\n'[39m +
[32m' at Socket.emit (events.js:314:20)\n'[39m +
[32m' at emitErrorNT (internal/streams/destroy.js:92:8)\n'[39m +
[32m' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n'[39m +
[32m' at processTicksAndRejections (internal/process/task_queues.js:84:21)'[39m