ziwen 2 жил өмнө
parent
commit
cfbe2ba4b8

+ 1 - 1
models/fms/contract_register.go

@@ -473,6 +473,6 @@ func CreateContractRegisterAndServicesAndPayMent(item *ContractRegister, service
 	}
 
 	sql := `DELETE FROM contract_pre_payment WHERE pre_pay_id = ?`
-	tx.Exec(sql, item.ContractRegisterId, item.ContractCode, prePayId)
+	tx.Exec(sql, prePayId)
 	return
 }