Browse Source

ship单号调整

FLH 2 weeks ago
parent
commit
7e16dc52a3

+ 1 - 1
2.Data/XYY.Model.Strandard/MpsOrder/dto/ImportMpsBoxAddresseeInfo.cs

@@ -23,7 +23,7 @@ namespace XYY.Model.Standard.MpsOrder.dto
         //channel 计泡系数
         public decimal CustomerVolumnWeightFactor { get; set; }
         public string TrackingNumber { get; set; }
-    }
+    }   
     public class ImportMpsBoxAddresseeExcelMpping : MSExcelClassMapping<ImportMpsBoxAddressee>
     {
         public ImportMpsBoxAddresseeExcelMpping()

+ 2 - 0
3.Service/XYY.Service.Standard.ChannelApi/Shiphubx/Api.cs

@@ -94,6 +94,8 @@ namespace XYY.Service.Standard.ChannelApi.Sengi.Shiphubx
             //    else
             //       refrn
             //}
+            if (order.CreateOrderChannelId == 496)
+                refrno = order.TransferNumber;
             decimal avgweight = order.CustomerWeight / (decimal)goods.Sum(x => x.Quantity);
             decimal orderWeight = order.CustomerWeight;
             CreateOrderReq req = new CreateOrderReq