소스 검색

其他台账,历史数据

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;