Procházet zdrojové kódy

变更概况界面,排序

MaiXinRong před 3 roky
rodič
revize
c538a8fe5a
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      app/service/stage_change.js

+ 2 - 1
app/service/stage_change.js

@@ -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 [];