Browse Source

过滤空的附加费数据

lzk 1 week ago
parent
commit
b995a5cb38
1 changed files with 1 additions and 0 deletions
  1. 1 0
      3.Service/XYY.Service.Standard.Order/FBA/FBAOrderService.cs

+ 1 - 0
3.Service/XYY.Service.Standard.Order/FBA/FBAOrderService.cs

@@ -1517,6 +1517,7 @@ where Id in @Ids", 600, new { Ids = Ids });
             List<FBA_Incidental> incidentals = dto.incidentals.ToList();
             if (incidentals != null && incidentals.Count > 0)
             {
+                incidentals.RemoveAll(x => x.FBAOtherFeeId == null);
                 foreach (var item in incidentals)
                 {
                     item.OrderId = dto.OrderId;