From 3b810990b4227a6bc416f37f6b9540c041814db5 Mon Sep 17 00:00:00 2001 From: wenlele Date: Fri, 22 Dec 2023 17:48:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A1=AB=E5=85=85=E6=B2=A1=E6=9C=89=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=9A=84=E5=8D=95=E5=85=83=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/report/index.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/api/app/lib/controllers/report/index.js b/api/app/lib/controllers/report/index.js index 13018c7c..49363ae7 100644 --- a/api/app/lib/controllers/report/index.js +++ b/api/app/lib/controllers/report/index.js @@ -820,8 +820,15 @@ async function roadSpotPrepare (ctx) { let village = await getRoadTotalMileage('村', where, false) gather.push({ name: d.name, + code: d.code, township: township, - village: village + townshipParticipate: 0, + townshipPresent: 0, + townshipDifferenceValue: 0, + village: village, + villageParticipate: 0, + villagePresent: 0, + villageDifferenceValue: 0 }) }