TRS-ZS-450 每日估值单中各tab字段逻辑调整汇总
This commit is contained in:
@@ -475,13 +475,16 @@ namespace YLErp.Modules.SwapModule
|
||||
var tradeQuery = DbContext.trade.Where(tradePredicate);
|
||||
var query = from flow in positionQuery
|
||||
join td in tradeQuery on flow.SwapTradeId equals td.id
|
||||
join tr in DbContext.trade_contract_r on td.id equals tr.TradeId into tradeContractGroup
|
||||
from tradeContract in tradeContractGroup.DefaultIfEmpty()
|
||||
select new ClientSwapPositionResponse
|
||||
{
|
||||
FlowEvent = flow,
|
||||
SwapTradeNo = td.TradeNumber,
|
||||
StructureType = td.StructureType,
|
||||
ClientName = td.ClientName,
|
||||
ClientId = td.ClientId
|
||||
ClientId = td.ClientId,
|
||||
ContractCode = tradeContract.ContractCode,
|
||||
};
|
||||
if (string.IsNullOrEmpty(req.sidx))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user