Browse Source

报表,签约清单问题

MaiXinRong 4 năm trước cách đây
mục cha
commit
d5047adc4f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/service/deal_bills.js

+ 1 - 1
app/service/deal_bills.js

@@ -207,7 +207,7 @@ module.exports = app => {
         * @param {Number} tenderId - 所属标段Id
         */
         async getDataByTenderId(tenderId) {
-            const sql = 'SELECT Bills.* FROM ' + this.tableName + ' As Bills WHERE tender_id = ? ORDER BY ';
+            const sql = 'SELECT Bills.* FROM ' + this.tableName + ' As Bills WHERE tender_id = ? ORDER BY `order`;
             const sqlParam = [tenderId];
             return await this.db.query(sql, sqlParam);
             // let rst = await this.getDataByCondition({tender_id: tenderId});