|
@@ -99,11 +99,11 @@ module.exports = app => {
|
|
|
' (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_expr, sjcl_expr, qtcl_expr, gxby_status, dagl_status)' +
|
|
|
+ ' sgfh_expr, sjcl_expr, qtcl_expr, gxby_status, dagl_status, dagl_url)' +
|
|
|
' Select 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_expr, sjcl_expr, qtcl_expr, gxby_status, dagl_status' +
|
|
|
+ ' sgfh_expr, sjcl_expr, qtcl_expr, gxby_status, dagl_status, dagl_url' +
|
|
|
' From ' + this.ctx.service.ledger.tableName +
|
|
|
' Where `tender_id` = ?';
|
|
|
const sqlParam = [tid];
|
|
@@ -114,10 +114,10 @@ module.exports = app => {
|
|
|
const sql = 'Insert Into ' + this.ctx.service.revisePos.tableName +
|
|
|
' (id, tid, lid, name, drawing_code, quantity, add_stage, add_times, add_user,' +
|
|
|
' sgfh_qty, sjcl_qty, qtcl_qty, crid, in_time, porder, position,' +
|
|
|
- ' sgfh_expr, sjcl_expr, qtcl_expr, real_qty, gxby_status, dagl_status)' +
|
|
|
+ ' sgfh_expr, sjcl_expr, qtcl_expr, real_qty, gxby_status, dagl_status, dagl_url)' +
|
|
|
' Select id, tid, lid, name, drawing_code, quantity, add_stage, add_times, add_user,' +
|
|
|
' sgfh_qty, sjcl_qty, qtcl_qty, crid, in_time, porder, position,' +
|
|
|
- ' sgfh_expr, sjcl_expr, qtcl_expr, real_qty, gxby_status, dagl_status' +
|
|
|
+ ' sgfh_expr, sjcl_expr, qtcl_expr, real_qty, gxby_status, dagl_status, dagl_url' +
|
|
|
' From ' + this.ctx.service.pos.tableName +
|
|
|
' Where `tid` = ?';
|
|
|
const sqlParam = [tid];
|