| 
					
				 | 
			
			
				@@ -512,7 +512,7 @@ class BaseBillsSerivce extends TreeService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const sql = 'UPDATE ' + this.tableName + ' SET sgfh_qty = deal_qty,' + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             '    quantity = IFNULL(deal_qty, 0) + IFNULL(sjcl_qty, 0) + IFNULL(qtcl_qty, 0), ' + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             '    sgfh_tp = deal_tp,' + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            '    total_price = IFNULl(deal_tp, 0) + IFNULL(sjcl_tp, 0) + IFNULL(qtcl_tp, 0)' + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            '    total_price = IFNULL(deal_tp, 0) + IFNULL(sjcl_tp, 0) + IFNULL(qtcl_tp, 0)' + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             '  WHERE tender_id = ?'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const sqlParam = [tid]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         await this.db.query(sql, sqlParam); 
			 |