|
@@ -100,9 +100,9 @@ module.exports = app => {
|
|
async _initRevisePos(transaction, tid) {
|
|
async _initRevisePos(transaction, tid) {
|
|
const sql = 'Insert Into ' + this.ctx.service.revisePos.tableName +
|
|
const sql = 'Insert Into ' + this.ctx.service.revisePos.tableName +
|
|
' (id, tid, lid, name, drawing_code, quantity, add_stage, add_times, add_user,' +
|
|
' (id, tid, lid, name, drawing_code, quantity, add_stage, add_times, add_user,' +
|
|
- ' sgfh_qty, sjcl_qty, qtcl_qty, crid, porder)' +
|
|
|
|
|
|
+ ' sgfh_qty, sjcl_qty, qtcl_qty, crid, in_time, porder)' +
|
|
' Select id, tid, lid, name, drawing_code, quantity, add_stage, add_times, add_user,' +
|
|
' Select id, tid, lid, name, drawing_code, quantity, add_stage, add_times, add_user,' +
|
|
- ' sgfh_qty, sjcl_qty, qtcl_qty, crid, porder' +
|
|
|
|
|
|
+ ' sgfh_qty, sjcl_qty, qtcl_qty, crid, in_time, porder' +
|
|
' From ' + this.ctx.service.pos.tableName +
|
|
' From ' + this.ctx.service.pos.tableName +
|
|
' Where `tid` = ?';
|
|
' Where `tid` = ?';
|
|
const sqlParam = [tid];
|
|
const sqlParam = [tid];
|