diff --git a/Reportapi/MyCode.Project.Services/Implementation/OrderPushService.cs b/Reportapi/MyCode.Project.Services/Implementation/OrderPushService.cs index 2956504..6312c22 100644 --- a/Reportapi/MyCode.Project.Services/Implementation/OrderPushService.cs +++ b/Reportapi/MyCode.Project.Services/Implementation/OrderPushService.cs @@ -242,7 +242,7 @@ namespace MyCode.Project.Services.Implementation Barcode = n.Barcode, OrderQty = n.SellCount, OrderPrice = Math.Round(n.DivideSellTotal / n.SellCount, 10), - ItemId = n.GoodsId, // 商品 + ItemId = n.GoodsNo, // 商品 LocationId = param.FWAREHOUSECODE, CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), OrderUnit = "pcs" @@ -251,7 +251,7 @@ namespace MyCode.Project.Services.Implementation var uri = "http://172.16.42.45:9000"; var requestString = JsonHelper.ToJson(order, false, true, true); - var client = new RestClient(pushKingdeeOrder.TradeType == 8 ? $"{uri}/sale/order/out" : $"{uri}/sale/order/reture"); + var client = new RestClient(pushKingdeeOrder.TradeType == 8 ? $"{uri}/sale/order/return" : $"{uri}/sale/order/out"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); diff --git a/Reportapi/MyCode.Project.WebApi/Properties/PublishProfiles/FolderProfile.pubxml b/Reportapi/MyCode.Project.WebApi/Properties/PublishProfiles/FolderProfile.pubxml index 036ae7a..7a9a2ca 100644 --- a/Reportapi/MyCode.Project.WebApi/Properties/PublishProfiles/FolderProfile.pubxml +++ b/Reportapi/MyCode.Project.WebApi/Properties/PublishProfiles/FolderProfile.pubxml @@ -7,12 +7,12 @@ FileSystem FileSystem - Release + Debug Any CPU - True - False + true + false E:\Git\MyCodeMySql\Publish - True + true \ No newline at end of file