From 2d6fb45dc212b2261cf65efcd5e7babf9266be92 Mon Sep 17 00:00:00 2001 From: zhaobing Date: Fri, 14 Jul 2023 18:10:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=BB=9F=E8=AE=A1=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/overview/building.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/lib/controllers/overview/building.js b/api/app/lib/controllers/overview/building.js index 69ed2d13..df819587 100644 --- a/api/app/lib/controllers/overview/building.js +++ b/api/app/lib/controllers/overview/building.js @@ -196,7 +196,7 @@ async function roadState(ctx) { } } - if (p.buildUnit && p.done) { + if (p.buildUnit && !p.done) { let townName = p.buildUnit.replace('人民政府', '').replace('南昌县', '').replace('管委会', '') if (roadState.townProject[townName]) { roadState.townProject[townName] += 1