服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-03-26 1d61b45846ac2e5cb0a8366365613c44c1319289
Tiger.Business.WMS/Transaction/Yada/Count_BIZ_U9_ASN.cs
@@ -11,8 +11,6 @@
using Tiger.IBusiness;
using Tiger.Model.MES.Yada;
using Tiger.Model.Entitys.MES.U9C;
using System.Security.Policy;
using Tiger.Model.Entitys.MES.Position;
namespace Tiger.Business.WMS.Transaction
{
@@ -414,7 +412,12 @@
               IsLogin = true,
               CreateRcvBySrcASNParam = new ()
               {
                  aSNToRcvTransDTOs = order.Details.Select(q => new ASNToRcvTransDTO { ASNLineKey = q.ID, TransQty = new() { m_amount1 = q.QTY } }).ToList(),
                  aSNToRcvTransDTOs = order.Details.Select(q => new ASNToRcvTransDTO
                        {
                            ASNLineKey = q.ID,
                            TransQty = new() { m_amount1 = q.QTY },
                            BinInfoList = new() { new() { Bin = new () { m_code = q.ItemInfo.DEFAULT_LOCATION }, LocationQtySU = q.QTY, LocationQtyTU = q.QTY } },
                        }).ToList(),
               }
            };
            var result = await DI.Resolve<IWMS_U9C>().CreateRcvBySrcASN(iInput);
@@ -429,8 +432,7 @@
            var receipt = new BIZ_U9_RECEIPT();
            receipt.Details = new();
            receipt.SnList = new();
                DbClient U9Cdb = Biz.DataSource["YadaU9C"].Client;
                var list = U9Cdb.Queryable<mes_ReturnedDocInfo>().Where(x => x.RcvId == result.Data[0].ID.ToDouble() && x.DocNo == result.Data[0].Code).ToList();
                var list = Biz.DataSource["YadaU9C"].Client.Queryable<mes_ReturnedDocInfo>().Where(x => x.RcvId == result.Data[0].ID.ToDouble() && x.DocNo == result.Data[0].Code).ToList();
            if (list != null && list.Count > 0)
            {