From f95dd1ce548f2a465d13f70fe4616410a4d77cc5 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期三, 14 五月 2025 08:45:58 +0800 Subject: [PATCH] 1.OA接口优化。 2.携客云接口调用 3.携客云送货单、送货明细、条码信息实体 --- service/Wom/WwGdManager.cs | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/service/Wom/WwGdManager.cs b/service/Wom/WwGdManager.cs index 83ad617..09de0e9 100644 --- a/service/Wom/WwGdManager.cs +++ b/service/Wom/WwGdManager.cs @@ -1,5 +1,6 @@ 锘縰sing System.Data; using System.Data.SqlClient; +using System.Threading.Tasks.Dataflow; using Masuit.Tools; using NewPdaSqlServer.DB; using NewPdaSqlServer.Dto.service; @@ -773,7 +774,7 @@ // 鑾峰彇琛ユ枡鍗曟槑缁嗗苟鏍¢獙 var blDetail = Db.Queryable<MesItemBlDetail>() .Where(b => - b.Mid == mesItemBl.Id && b.Bld012 == stockBarcode.ItemId) + b.Mid == mesItemBl.Id && b.Bld012 == stockBarcode.ItemId && b.Bld007 > b.Bld008) .First(); if (blDetail == null) @@ -939,7 +940,8 @@ PbillNo = query.billNo, ItemId = blDetail.Bld012, DepotId = stockBarcode.DepotsId.ToString(), - ItemDabid = womdab.Id, + ItemDabid = blDetail.Id, + //AboutGuid = womdab.Id // Unit = blDetail.Bld009, // DepotId = (int)stockBarcode.DepotsId }).IgnoreColumns(true).ExecuteCommand(); @@ -972,7 +974,7 @@ PbillNo = query.billNo, ItemId = blDetail.Bld012, Unit = blDetail.Bld009, - DepotId = (int)stockBarcode.DepotsId, + DepotId = (int)stockBarcode.DepotId, EbelnK3id = womdab.Eid, LineK3id = womdab.Erpid }).IgnoreColumns(true).ExecuteCommand(); -- Gitblit v1.9.3