啊鑫
3 天以前 ed05efdc17aab076146b134ebe105b6382f221d7
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)