Commit d41a0e00 by 陶然

代码美化

parent 956df583
......@@ -120,12 +120,6 @@ namespace Kivii.Finances.Transforms
updateInvoiceApplys = updateInvoiceApplys.Update(o => new { o.Status, o.Summary });
updateInvoiceApplys = updateInvoiceApplys.Where(o => Sql.In(o.Kvid, existApplies.ConvertAll(p => p.Kvid)));
conn.UpdateOnly<InvoiceApply>(new InvoiceApply { Status = -1, Summary = $"发票作废:{Remark}" }, updateInvoiceApplys);
//foreach (var item in existApplies)
//{
// item.Status = -1;
// item.AddOnlyProperties(o => o.Status);
// conn.UpdateOnly(item);
//}
}
trans.Commit();
}
......
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