Esempio n. 1
0
        /// <summary>
        /// 排序
        /// </summary>
        /// <returns></returns>
        public override OrderByField[] GetOrder()
        {
            var list = new List <OrderByField>()
            {
                OrderByField.Create <DictDO>(nameof(DictDO.SortNo), FieldSortType.Asc)
            };

            return(list.ToArray());
        }
Esempio n. 2
0
        public OrderByField[] GetOrder()
        {
            var list = new List <OrderByField>()
            {
                OrderByField.Create(nameof(UserEntity.AddTime), FieldSortType.Asc)
            };

            return(list.ToArray());
        }
Esempio n. 3
0
        /// <summary>
        /// 排序
        /// </summary>
        /// <returns></returns>
        public override OrderByField[] GetOrder()
        {
            var list = new List <OrderByField>()
            {
                OrderByField.Create <XsTaskBaseDO>(nameof(XsTaskBaseDO.CreateDate), FieldSortType.Desc)
            };

            return(list.ToArray());
        }
Esempio n. 4
0
        /// <summary>
        /// 排序
        /// </summary>
        /// <returns></returns>
        public override OrderByField[] GetOrder()
        {
            var list = new List <OrderByField>()
            {
                OrderByField.Create <ScheduleTaskDO>(nameof(ScheduleTaskDO.LineCode), FieldSortType.Asc)
            };

            return(list.ToArray());
        }