public List <OrderEntity> GetOrderListByCondition(string name, string orderNo, string startDate, string endDate) { OrderDA da = new OrderDA(); var result = da.GetOrderListByCondition(name, orderNo, startDate, endDate); if (result != null && result.Count > 0) { foreach (var item in result) { item.OrderSource = new BaseSetBC().GetDicItemValueByKey(item.OrderSource, DictionaryConstant.OSKey).ItemValue; } } return(result); }