diff --git a/YLErpDAL/Modules/TradeModule/ClientCashInCashOutService.cs b/YLErpDAL/Modules/TradeModule/ClientCashInCashOutService.cs index 80b87e53..141e7b7e 100644 --- a/YLErpDAL/Modules/TradeModule/ClientCashInCashOutService.cs +++ b/YLErpDAL/Modules/TradeModule/ClientCashInCashOutService.cs @@ -204,7 +204,7 @@ namespace YLErp.Modules.TradeModule } var valueDate = valuedateBLL.ValueDate; var client = DataCacheProvider.GetClientDataSource().GetData(swapTrade.ClientId); - var cic = DbContext.ClientCashInCashOut.FirstOrDefault(t => t.TradeId == swapTrade.id && t.ValidState != ConsGlobal.InValid && t.Action == action && t.State != ClientCashInCashOut.已结算&&t.Deal==positionId); + var cic = DbContext.ClientCashInCashOut.FirstOrDefault(t => t.TradeId == swapTrade.id && t.ValidState != ConsGlobal.InValid && t.Action == action &&t.Deal==positionId); bool addClientCash = false; if (cic == null) {