|
|
@@ -1105,7 +1105,7 @@ module.exports = app => {
|
|
|
l.sgfh_qty, l.sgfh_tp, l.sjcl_qty, l.sjcl_tp, l.qtcl_qty, l.qtcl_tp, l.node_type, l.crid, l.ccid,
|
|
|
l.tender_id, l.sgfh_expr, l.sjcl_expr, l.qtcl_expr, l.check_calc,
|
|
|
l.ex_memo1, l.ex_memo2, l.ex_memo3,
|
|
|
- l.ex_qty1, l.ex_tp1,
|
|
|
+ l.ex_qty1, l.ex_tp1, l.is_new_price,
|
|
|
];
|
|
|
insertLedgerArr.push('(' + this.ctx.helper.getInArrStrSqlFilter(insertL) + ')');
|
|
|
await transaction.delete(this.ctx.service.changeLedger.tableName, { id: l.id });
|
|
|
@@ -1118,7 +1118,7 @@ module.exports = app => {
|
|
|
' quantity, total_price, unit_price, drawing_code, memo, features, dgn_qty1, dgn_qty2, deal_qty, deal_tp,' +
|
|
|
' sgfh_qty, sgfh_tp, sjcl_qty, sjcl_tp, qtcl_qty, qtcl_tp, node_type, crid, ccid, tender_id,' +
|
|
|
' sgfh_expr, sjcl_expr, qtcl_expr, check_calc,' +
|
|
|
- ' ex_memo1, ex_memo2, ex_memo3, ex_qty1, ex_tp1) VALUES ' + insertLedgerArr.join(',') + ';';
|
|
|
+ ' ex_memo1, ex_memo2, ex_memo3, ex_qty1, ex_tp1, is_new_price) VALUES ' + insertLedgerArr.join(',') + ';';
|
|
|
await transaction.query(bSql, []);
|
|
|
}
|
|
|
if (posList.length > 0) {
|