|  | @@ -259,7 +259,7 @@ module.exports = app => {
 | 
	
		
			
				|  |  |              const transaction = await this.db.beginTransaction();
 | 
	
		
			
				|  |  |              try {
 | 
	
		
			
				|  |  |                  if (newChanges.length > 0) await transaction.insert(this.tableName, newChanges);
 | 
	
		
			
				|  |  | -                if (updateChanges.length > 0) await transaction.updateRows(this.tableName, c);
 | 
	
		
			
				|  |  | +                if (updateChanges.length > 0) await transaction.updateRows(this.tableName, updateChanges);
 | 
	
		
			
				|  |  |                  await this.ctx.service.stagePos.updateChangeQuantity(transaction, pos, posQty);
 | 
	
		
			
				|  |  |                  await transaction.commit();
 | 
	
		
			
				|  |  |              } catch (err) {
 |