From 52d1e37bb116c995b601728bfe81e3816c3944c9 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期五, 27 六月 2025 08:22:33 +0800 Subject: [PATCH] 1.携客云到货单主表新增单据类型字段 2.条码入库前拆分 --- 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