Explorar o código

安全生产费,根据remark排序

MaiXinRong hai 2 meses
pai
achega
677c3595ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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']] });
         }
     }