from t in _entity.TB_OrderInfo
where t.OrderCode == courOrderCode || t.CounierCode == courOrderCode && t.IsDel == "N"
join b in _entity.TB_CustomerInfo on t.CustomerCode equals b.CustomerCode
into s1
from x1 in s1.DefaultIfEmpty()
时间: 2024-10-12 01:32:56