|
@ -765,7 +765,7 @@ async function confirmRoadSpot (ctx) { |
|
|
|
|
|
|
|
|
let spotRslt = [] |
|
|
let spotRslt = [] |
|
|
for await (let item of spotedRoadIds) { |
|
|
for await (let item of spotedRoadIds) { |
|
|
let corConserveCount = conserveCountRes.find(item => item.road_id == item) |
|
|
let corConserveCount = conserveCountRes.find(cc => cc.road_id == item) |
|
|
spotRslt.push({ |
|
|
spotRslt.push({ |
|
|
roadId: item, |
|
|
roadId: item, |
|
|
maintenanceCount: corConserveCount ? corConserveCount.count : 0, |
|
|
maintenanceCount: corConserveCount ? corConserveCount.count : 0, |
|
|