|
@@ -939,8 +939,8 @@ module.exports = app => {
|
|
|
l.ledger_pid, l.level, l.order, l.full_path, l.is_leaf, l.quantity, l.total_price,
|
|
|
l.unit_price, l.drawing_code, l.memo, l.dgn_qty1, l.dgn_qty2, l.deal_qty, l.deal_tp,
|
|
|
l.sgfh_qty, l.sgfh_tp, l.sjcl_qty, l.sjcl_tp, l.qtcl_qty, l.qtcl_tp, l.node_type, l.crid,
|
|
|
- l.tender_id, l.is_tp, l.sgfh_expr, l.sjcl_expr, l.qtcl_expr, l.check_calc, l.gxby_status,
|
|
|
- l.dagl_status, l.dagl_url, l.gxby_limit, l.dagl_limit, l.ex_memo1, l.ex_memo2, l.ex_memo3,
|
|
|
+ l.tender_id, l.sgfh_expr, l.sjcl_expr, l.qtcl_expr, l.check_calc, l.gxby_status,
|
|
|
+ l.ex_memo1, l.ex_memo2, l.ex_memo3,
|
|
|
];
|
|
|
insertLedgerArr.push('(' + this.ctx.helper.getInArrStrSqlFilter(insertL) + ')');
|
|
|
await transaction.delete(this.ctx.service.changeLedger.tableName, { id: l.id });
|
|
@@ -951,9 +951,8 @@ module.exports = app => {
|
|
|
this.ctx.service.ledger.tableName +
|
|
|
' (id, code, b_code, name, unit, source, remark, ledger_id, ledger_pid, level, `order`, full_path, is_leaf,' +
|
|
|
' quantity, total_price, unit_price, drawing_code, memo, dgn_qty1, dgn_qty2, deal_qty, deal_tp,' +
|
|
|
- ' sgfh_qty, sgfh_tp, sjcl_qty, sjcl_tp, qtcl_qty, qtcl_tp, node_type, crid, tender_id, is_tp,' +
|
|
|
+ ' sgfh_qty, sgfh_tp, sjcl_qty, sjcl_tp, qtcl_qty, qtcl_tp, node_type, crid, tender_id,' +
|
|
|
' sgfh_expr, sjcl_expr, qtcl_expr, check_calc,' +
|
|
|
- ' gxby_status, dagl_status, dagl_url, gxby_limit, dagl_limit,' +
|
|
|
' ex_memo1, ex_memo2, ex_memo3) VALUES ' + insertLedgerArr.join(',') + ';';
|
|
|
await transaction.query(bSql, []);
|
|
|
}
|
|
@@ -964,7 +963,6 @@ module.exports = app => {
|
|
|
p.id, p.tid, p.lid, p.name, p.drawing_code, p.quantity, p.add_stage, p.add_stage_order, p.add_times,
|
|
|
p.add_user, p.sgfh_qty, p.sjcl_qty, p.qtcl_qty, p.crid, p.porder, p.position,
|
|
|
p.sgfh_expr, p.sjcl_expr, p.qtcl_expr, p.real_qty,
|
|
|
- p.gxby_status, p.dagl_status, p.dagl_url, p.gxby_limit, p.dagl_limit,
|
|
|
p.ex_memo1, p.ex_memo2, p.ex_memo3,
|
|
|
];
|
|
|
insertPosArr.push('(' + this.ctx.helper.getInArrStrSqlFilter(insertp) + ')');
|
|
@@ -978,7 +976,6 @@ module.exports = app => {
|
|
|
' (id, tid, lid, name, drawing_code, quantity, add_stage, add_stage_order, add_times, add_user,' +
|
|
|
' sgfh_qty, sjcl_qty, qtcl_qty, crid, porder, position, ' +
|
|
|
' sgfh_expr, sjcl_expr, qtcl_expr, real_qty,' +
|
|
|
- ' gxby_status, dagl_status, dagl_url, gxby_limit, dagl_limit,' +
|
|
|
' ex_memo1, ex_memo2, ex_memo3) VALUES ' + insertPosArr.join(',') + ';';
|
|
|
await transaction.query(pSql, []);
|
|
|
}
|