From 41bc12c964fae90a07a6180fa85750d2d78bde8d Mon Sep 17 00:00:00 2001 From: liguoyang Date: Tue, 22 Jul 2025 11:02:05 +0800 Subject: [PATCH] add CreateTime --- Src/Dlhis.Basic/Organization/Response/GainfoPageResponse.cs | 3 +++ .../Organization/Services/Implements/GainfoService.cs | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Src/Dlhis.Basic/Organization/Response/GainfoPageResponse.cs b/Src/Dlhis.Basic/Organization/Response/GainfoPageResponse.cs index 60aa19fd..06ddc9c6 100644 --- a/Src/Dlhis.Basic/Organization/Response/GainfoPageResponse.cs +++ b/Src/Dlhis.Basic/Organization/Response/GainfoPageResponse.cs @@ -131,4 +131,7 @@ public class GainfoPageResponse /// 卡类型名称 /// public string CardTypeName { get; set; } + + + public DateTime CreateTime { get; set; } } \ No newline at end of file diff --git a/Src/Dlhis.Basic/Organization/Services/Implements/GainfoService.cs b/Src/Dlhis.Basic/Organization/Services/Implements/GainfoService.cs index 541c4e21..3bb7c6a8 100644 --- a/Src/Dlhis.Basic/Organization/Services/Implements/GainfoService.cs +++ b/Src/Dlhis.Basic/Organization/Services/Implements/GainfoService.cs @@ -142,7 +142,8 @@ public class GainfoService : IGainfoService .Select((gainfo, department) => new GainfoPageResponse { DepartmentName = department.Name, - CardType = gainfo.CardType + CardType = gainfo.CardType, + CreateTime = gainfo.CreateTime }, true); var page = await queryable.ToPageListAsync(request);