From eef66b0e4c576876217e4097f1813240face343f Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期五, 29 八月 2025 10:31:42 +0800 Subject: [PATCH] 111 --- 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