日志调整

This commit is contained in:
2025-07-22 16:39:51 +08:00
parent ae62b89ed9
commit 89c113e5e1
5 changed files with 58 additions and 12 deletions

View File

@@ -3,6 +3,7 @@ using System.Data;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Aliyun.OSS;
using Infrastructure.Attribute;
using Mapster;
using SqlSugar;
@@ -583,6 +584,15 @@ namespace ZR.Service.mes.wms
// 出库信息转发U8
//1.构建信息
// TODO 客户编号获取
string _outOrder = shipnumber ?? "无出库单";
string _customerCode =
Context
.Queryable<WmOutOrder>()
.Where(x => x.ShipmentNum == _outOrder)
.Select(x => x.CustomNo)
.First() ?? "无客户代码";
List<ERP_WMS_interactiveModelQuery> u8PackageList = new();
foreach (var item in insertList)
{
@@ -609,6 +619,7 @@ namespace ZR.Service.mes.wms
ERP_WMS_interactiveModelQuery u8PackageItem =
new()
{
customerCode = _customerCode,
materialCode = item.Partnumber,
location = item.LocationCode,
Qty = item.GoodsNumLogic.ToString(),