From 6f8a004fd8dab7536bcadcab85e75d3833ed9da6 Mon Sep 17 00:00:00 2001 From: rustdreamer Date: Mon, 8 Apr 2024 22:16:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.controller.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app.controller.ts b/src/app.controller.ts index 5ba6230..c251d4a 100644 --- a/src/app.controller.ts +++ b/src/app.controller.ts @@ -313,16 +313,19 @@ export class AppController { if (area_code) { where.to_area_code = area_code; } + // console.log("where", where) const node_other_visitors: any = await this.nodeOtherVisitorRepository.find({ where, order: { created_date: "DESC" } }); + // console.log("node_other_visitors", node_other_visitors) await bluebird.each(node_other_visitors, async (item) => { const node_visitor = await this.nodeVisitorRepository.findOne({ where: { id: item.node_visitor_id } }) + // console.log("node_visitor", node_visitor) // console.log('node_visitor', node_visitor) // console.log('new Date(node_visitor.start_date)', new Date(node_visitor.start_date)) // console.log('new Date(node_visitor.end_date)', new Date(node_visitor.end_date))