Commit 79bd88b3 by 陶然

解决借票冲销撤销接口bug

parent 06a7a83b
...@@ -208,7 +208,9 @@ namespace Kivii.Finances.Transforms ...@@ -208,7 +208,9 @@ namespace Kivii.Finances.Transforms
{ {
foreach (var item in splitPayments) foreach (var item in splitPayments)
{ {
if (item.OnlyProperties.Count > 0) conn.UpdateOnly(item); if (item.OnlyProperties.Count <= 0) continue;
conn.UpdateOnly(item);
item.RecalculateAssignAmount(conn);
} }
} }
rtns.Results.AddRange(invoices); rtns.Results.AddRange(invoices);
......
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