From 10b700dad2a510b83a5066aa5002dea8f4eb0e38 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 04 六月 2021 15:41:30 +0800
Subject: [PATCH] 提交

---
 zhengcaioa/Services/DailyManagementService.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/zhengcaioa/Services/DailyManagementService.cs b/zhengcaioa/Services/DailyManagementService.cs
index a6340e3..b8ecd87 100644
--- a/zhengcaioa/Services/DailyManagementService.cs
+++ b/zhengcaioa/Services/DailyManagementService.cs
@@ -236,6 +236,7 @@
                           Creater = c.UserName,
                           ToUserId = b.UserName,
                           Time = a.Time,
+                          TimeName = a.Time.HasValue ? a.Time.Value.ToString("yyyy-MM-dd HH:mm") : "",
                           Context = a.Context,
                           Createtime = a.Createtime,
                           FeedBack = a.FeedBack,
@@ -251,7 +252,7 @@
                           HaveRead = a.HaveRead.HasValue? a.HaveRead.Value:0,
                           HaveReadName = hhh.Comments,
 
-                      }).OrderByDescending(x=>x.Time).ToList();
+                      }).OrderByDescending(x=>x.Createtime).ToList();
 
             //if (!string.IsNullOrEmpty(search.Createtime))
             //{

--
Gitblit v1.9.1