Browse Source

feat:优化

master
zhaobing’ 10 months ago
parent
commit
f8bad2ed5a
  1. 7
      api/app/lib/controllers/patrolManage/patrolRecord.js

7
api/app/lib/controllers/patrolManage/patrolRecord.js

@ -49,7 +49,12 @@ async function findPatrolRecord(ctx, next) {
},
include: generalInclude.concat([{
model: models.Point,
attributes: ['id', 'name']
attributes: ['id', 'name'],
}],[{
model: models.Project,
where: { type: '管廊' },
attributes: ['type'],
}])
}
// 小程序首页优化(只查对应数据条数,不需要详细数据)

Loading…
Cancel
Save