1
huanghongfeng
2024-12-01 504404beedd006d029bb44fe2290aba649795229
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageDataOptions.cs
@@ -118,6 +118,8 @@
        public Dictionary<string, OrderByType> GetPageDataSort(PropertyInfo[] propertyInfo)
        {
            try
            {
            if (!string.IsNullOrEmpty(Sort))
            {
                if (Sort.Contains(","))
@@ -138,6 +140,12 @@
                        } };
                }
            }
            }
            catch (Exception ex)
            {
                throw;
            }
            return new Dictionary<string, OrderByType> { { "CreateDate", Order?.ToLower() == OrderByType.Asc.ToString() ? OrderByType.Asc : OrderByType.Desc } };
        }
    }