From 64e2f748cd194ec9e6e8f6e6ce1ca27374c3f686 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期四, 08 五月 2025 08:30:57 +0800 Subject: [PATCH] 1.PDA拆分领料打印条码 --- service/base/LoginService.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/service/base/LoginService.cs b/service/base/LoginService.cs index c483032..89fcf9d 100644 --- a/service/base/LoginService.cs +++ b/service/base/LoginService.cs @@ -65,7 +65,9 @@ foreach (var pageView in group) { var mesFile = Db.Queryable<MesFile>() - .Where(s => s.ParentGuid == pageView.Guid).First(); + .Where(s => s.ParentGuid == pageView.Guid) + .OrderByDescending(s => s.CreateDate) + .First(); var icoimg = ""; if (mesFile != null) -- Gitblit v1.9.3