var list = new SupplierLogic().GetSupplier(pageSize, pageIndex).Select(q => new
                {
                    SupplierID = q.SupplierID,
                    SupplierAccount = q.SupplierAccount,
                    SupplierName = q.SupplierName,
                    SupplierType = q.SupplierType,
                    AddTime = ((DateTime)q.AddTime).ToString(),
                    AppKey = q.AppKey,
                    IsLocked = q.IsLocked
                }).ToList();

对datetime类型结果进行二次查询.

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2022-02-11
  • 2022-01-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案