Browse Source

其他台账,历史数据

MaiXinRong 5 years ago
parent
commit
72cd0fb817
2 changed files with 2 additions and 0 deletions
  1. 1 0
      app/service/stage_jgcl.js
  2. 1 0
      app/service/stage_other.js

+ 1 - 0
app/service/stage_jgcl.js

@@ -221,6 +221,7 @@ module.exports = app => {
                     delete pd.deduct_qty;
                     delete pd.deduct_tp;
                     pd.sid = stage.id;
+                    delete pd.shistory;
                 }
                 const result = await transaction.insert(this.tableName, preDatas);
                 return result.affectedRows === preDatas.length;

+ 1 - 0
app/service/stage_other.js

@@ -188,6 +188,7 @@ module.exports = app => {
                     delete pd.tp;
                     pd.sid = stage.id;
                     pd.sorder = stage.order;
+                    delete pd.shistory;
                 }
                 const result = await transaction.insert(this.tableName, preDatas);
                 return result.affectedRows === preDatas.length;