|
@@ -444,7 +444,8 @@ module.exports = app => {
|
|
|
|
|
|
async getChangeWithUsedInfo(stage) {
|
|
|
const change = await this.ctx.service.change.getAllDataByCondition({
|
|
|
- where: { tid: stage.tid, status: audit.flow.status.checked }
|
|
|
+ where: { tid: stage.tid, status: audit.flow.status.checked },
|
|
|
+ orders: [['code', 'asc']],
|
|
|
});
|
|
|
if (change.length === 0) return [];
|
|
|
|