|
|
@ -10,7 +10,7 @@ async function statistic (ctx) { |
|
|
|
where: { |
|
|
|
reportType: 'conserve', |
|
|
|
}, |
|
|
|
attributes: ['id', 'road', 'time', 'projectType', 'projectType'], |
|
|
|
attributes: ['id', 'road', 'time', 'projectType', 'projectType', 'roadSectionStart', 'roadSectionEnd'], |
|
|
|
include: [{ |
|
|
|
model: models.User, |
|
|
|
attributes: ['name'] |
|
|
|