|
@@ -287,11 +287,11 @@ module.exports = app => {
|
|
|
posGather.id = stageBills.id;
|
|
|
await transaction.update(this.tableName, posGather);
|
|
|
} else {
|
|
|
- await this._insertStageBillsData(transaction, posGather, ledgerBills);
|
|
|
+ await this._insertStageBillsData(transaction, posGather, stageBills, ledgerBills);
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- await this._insertStageBillsData(transaction, posGather, ledgerBills);
|
|
|
+ await this._insertStageBillsData(transaction, posGather, stageBills, ledgerBills);
|
|
|
}
|
|
|
}
|
|
|
|