[步骤]

(@p1 bigint)select t.ID,t.CustomerID,t.WareHouseID,t.TransportName,w.WareHouseType,w.WareHouseName,t.WareHouseIDs from RB_Transport t with(nolock) INNER JOIN RB_WareHouse w with(nolock) on t.WareHouseID = w.ID and t.CustomerID = w.CustomerID where t.CustomerID =@p1 and t.IsActive = 1 order by SortBy DESC;
[结果]
[期望]
建议使用缓存

