资金划转收盘修复
This commit is contained in:
@@ -530,6 +530,8 @@ namespace YLErp.Modules.EodModule.SettlementModule
|
||||
if (clientEntryexit.TransferOutAccount == "初保账户")
|
||||
{
|
||||
AddToFund(fundObject.InFund, clientEntryexit.CurrencyCode, -clientEntryexit.Money ?? 0);
|
||||
// 更新 NetFund
|
||||
AddToFund(fundObject.NetFund, clientEntryexit.CurrencyCode, -clientEntryexit.Money ?? 0);
|
||||
if (clientEntryexit.TransferInAccount == "追保账户")
|
||||
{
|
||||
AddToFund(fundObject.VmInFund, clientEntryexit.CurrencyCode, clientEntryexit.Money ?? 0);
|
||||
@@ -537,6 +539,7 @@ namespace YLErp.Modules.EodModule.SettlementModule
|
||||
else
|
||||
{
|
||||
WinLoss += clientEntryexit.Money ?? 0;
|
||||
CurrChangeAmount += clientEntryexit.Money ?? 0;
|
||||
}
|
||||
}
|
||||
else if (clientEntryexit.TransferOutAccount == "追保账户")
|
||||
@@ -545,18 +548,24 @@ namespace YLErp.Modules.EodModule.SettlementModule
|
||||
if (clientEntryexit.TransferInAccount == "初保账户")
|
||||
{
|
||||
AddToFund(fundObject.InFund, clientEntryexit.CurrencyCode, clientEntryexit.Money ?? 0);
|
||||
// 更新 NetFund
|
||||
AddToFund(fundObject.NetFund, clientEntryexit.CurrencyCode, clientEntryexit.Money ?? 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
WinLoss += clientEntryexit.Money ?? 0;
|
||||
CurrChangeAmount += clientEntryexit.Money ?? 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
WinLoss -= clientEntryexit.Money ?? 0;
|
||||
CurrChangeAmount -= clientEntryexit.Money ?? 0;
|
||||
if (clientEntryexit.TransferInAccount == "初保账户")
|
||||
{
|
||||
AddToFund(fundObject.InFund, clientEntryexit.CurrencyCode, clientEntryexit.Money ?? 0);
|
||||
// 更新 NetFund
|
||||
AddToFund(fundObject.NetFund, clientEntryexit.CurrencyCode, clientEntryexit.Money ?? 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user