Explorar o código

协同审批排序

ellisran %!s(int64=2) %!d(string=hai) anos
pai
achega
99c7d7f65c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/stage_audit_ass.js

+ 1 - 1
app/service/stage_audit_ass.js

@@ -96,7 +96,7 @@ module.exports = app => {
                     }
                 }
             }
-            return result2;
+            return this._.orderBy(result2, ['begin_time'], ['desc']);
         }
 
         async getUserAssist(stage, user_id) {