Просмотр исходного кода

安全生产费,根据remark排序

MaiXinRong 3 недель назад
Родитель
Сommit
677c3595ee
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/service/std_gcl_list.js

+ 1 - 1
app/service/std_gcl_list.js

@@ -22,7 +22,7 @@ module.exports = app => {
         }
 
         async getSafeGcl () {
-            return await this.getAllDataByCondition({ where: { sub_type: 1 } });
+            return await this.getAllDataByCondition({ where: { sub_type: 1 }, orders: [['remark', 'asc']] });
         }
     }