Browse Source

fix 抽查维护统计

dev
CODE 1 year ago
parent
commit
978855b980
  1. 2
      api/app/lib/controllers/report/index.js

2
api/app/lib/controllers/report/index.js

@ -765,7 +765,7 @@ async function confirmRoadSpot (ctx) {
let spotRslt = []
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({
roadId: item,
maintenanceCount: corConserveCount ? corConserveCount.count : 0,

Loading…
Cancel
Save