Commit d4144f95 by 陶然

优化

parent 037febc1
...@@ -335,7 +335,7 @@ namespace Kivii.Finances ...@@ -335,7 +335,7 @@ namespace Kivii.Finances
payment.AmountInvoice = amountInvoiced; payment.AmountInvoice = amountInvoiced;
payment.AddOnlyProperties(o => o.AmountInvoice); payment.AddOnlyProperties(o => o.AmountInvoice);
conn.UpdateOnly(payment); conn.UpdateOnly(payment);
if (parentPayment != null) parentPayment.RecalculateAmountSplit(conn); if (parentPayment != null) parentPayment.RecalculateAmountInvoice(conn);
trans?.Commit(); trans?.Commit();
return payment; return payment;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment