From 74ab9465837f8a6f9eae854059e9783eff24e173 Mon Sep 17 00:00:00 2001 From: sjz <1240968267@qq.com> Date: 星期一, 14 七月 2025 18:06:24 +0800 Subject: [PATCH] 多组织修改 --- MES.Service/service/Warehouse/MesDepotSectionsManager.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/MES.Service/service/Warehouse/MesDepotSectionsManager.cs b/MES.Service/service/Warehouse/MesDepotSectionsManager.cs index 0fbb744..7a944c6 100644 --- a/MES.Service/service/Warehouse/MesDepotSectionsManager.cs +++ b/MES.Service/service/Warehouse/MesDepotSectionsManager.cs @@ -28,9 +28,9 @@ if (string.IsNullOrEmpty(query.sectionCode)) throw new Exception("璇锋壂搴撲綅鏉$爜!"); - var mesDepotSections = Db.Queryable<MesDepotSections, MesDepots>( - (a, b) => - new JoinQueryInfos(JoinType.Inner, a.DepotId == b.DepotId)) + var mesDepotSections = Db + .Queryable<MesDepotSections, MesDepots>((a, b) => + new JoinQueryInfos(JoinType.Inner, a.DepotId == b.DepotId)) .Where((a, b) => a.DepotSectionCode == query.sectionCode) .Select((a, b) => new MesDepotSections { @@ -51,10 +51,10 @@ if (string.IsNullOrEmpty(entity.sectionCode)) throw new Exception("璇锋壂搴撲綅鏉$爜!"); - var mesDepotSections = Db.Queryable<MesDepotSections, MesDepots>( - (a, b) => - new JoinQueryInfos(JoinType.Inner, - a.Zuid.ToString() == b.Zuid)) + var mesDepotSections = Db + .Queryable<MesDepotSections, MesDepots>((a, b) => + new JoinQueryInfos(JoinType.Inner, + a.Zuid.ToString() == b.Zuid)) .Where((a, b) => a.DepotSectionCode == entity.sectionCode) .First(); if (mesDepotSections == null) -- Gitblit v1.9.3