|  | @@ -141,13 +141,13 @@ func (d *ContractReturnDao) UpdateTotalPrice(projectId int, bidsectionId int, co
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	// 2.更新合同表 合同下回款总金额
 | 
	
		
			
				|  |  | -	_, err = session.Exec("UPDATE  cm_contracts SET `returned` = ? and status = ? where id = ? ", contractsPrice, contractStatus, contractsId)
 | 
	
		
			
				|  |  | +	_, err = session.Exec("UPDATE  cm_contracts SET `returned` = ? , status = ? where id = ? ", contractsPrice, contractStatus, contractsId)
 | 
	
		
			
				|  |  |  	if err != nil {
 | 
	
		
			
				|  |  |  		session.Rollback()
 | 
	
		
			
				|  |  |  		return errors.New("金额更新失败")
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  	// 3.更新项目节 合同下回款总金额
 | 
	
		
			
				|  |  | -	_, err = session.Exec("UPDATE  cm_tree_contracts SET `contract_returned` = ? and contract_status = ? where project_id = ? and bidsection_id=? and contract_id=? ",
 | 
	
		
			
				|  |  | +	_, err = session.Exec("UPDATE  cm_tree_contracts SET `contract_returned` = ? , contract_status = ? where project_id = ? and bidsection_id=? and contract_id=? ",
 | 
	
		
			
				|  |  |  		contractsPrice, contractStatus, projectId, bidsectionId, contractsId)
 | 
	
		
			
				|  |  |  	if err != nil {
 | 
	
		
			
				|  |  |  		session.Rollback()
 |