|
|
@ -7,7 +7,7 @@ async function overSpeedList (ctx) { |
|
|
|
const { limit } = ctx.query; |
|
|
|
|
|
|
|
const overSpeedRes = await models.Overspeed.findAll({ |
|
|
|
attributes: ['id', 'licensePlate', 'overrunRate', 'deductPoints', 'fine', 'processingTime', 'testTime'], |
|
|
|
attributes: ['id', 'licensePlate', 'overrunRate', 'deductPoints', 'fine', 'processingTime', 'testTime', 'nameOfInspectionPoint'], |
|
|
|
order: [['testTime', 'DESC']], |
|
|
|
limit: limit || 120, |
|
|
|
where: { |
|
|
|