From 41a97f48f41c81010bfd579c56571e8fc852a968 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Fri, 19 Jul 2024 10:33:35 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=A2=9E=E5=8A=A0createtime=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Response/MealSupplementRecordMyResponse.cs | 2 ++ .../Services/Implements/MealSupplementRecordService.cs | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Src/Dlhis.Canteen/MealSupplementRecord/Response/MealSupplementRecordMyResponse.cs b/Src/Dlhis.Canteen/MealSupplementRecord/Response/MealSupplementRecordMyResponse.cs index b43de229..8950e00b 100644 --- a/Src/Dlhis.Canteen/MealSupplementRecord/Response/MealSupplementRecordMyResponse.cs +++ b/Src/Dlhis.Canteen/MealSupplementRecord/Response/MealSupplementRecordMyResponse.cs @@ -23,6 +23,8 @@ public class MealSupplementRecordItemResponse /// 备注 /// public string Remark { get; set; } + + public DateTime CreateTime { get; set; } } public class MealSupplementRecordMyResponse diff --git a/Src/Dlhis.Canteen/MealSupplementRecord/Services/Implements/MealSupplementRecordService.cs b/Src/Dlhis.Canteen/MealSupplementRecord/Services/Implements/MealSupplementRecordService.cs index 9fe2f9c5..07e903ea 100644 --- a/Src/Dlhis.Canteen/MealSupplementRecord/Services/Implements/MealSupplementRecordService.cs +++ b/Src/Dlhis.Canteen/MealSupplementRecord/Services/Implements/MealSupplementRecordService.cs @@ -89,7 +89,8 @@ public class MealSupplementRecordService : IMealSupplementRecordService { CurrentAmount = x.Amount, Date = x.CostDate, - Remark = x.Remark + Remark = x.Remark, + CreateTime = x.CreateTime }) .ToListAsync();