Преглед изворни кода

其他台账,历史数据

MaiXinRong пре 5 година
родитељ
комит
72cd0fb817
2 измењених фајлова са 2 додато и 0 уклоњено
  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;