lzk пре 1 недеља
родитељ
комит
c001296b30
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      3.Service/XYY.Service.Standard.Order/FBA/FBAOrderService.cs

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

@@ -1842,7 +1842,7 @@ where Id in @Ids", 600, new { Ids = Ids });
                         case 8:
                         case 8:
                             cell.CellStyle = styleCollectCenter;
                             cell.CellStyle = styleCollectCenter;
                             cell.SetCellValue(dbData.FirstOrDefault().CustomerConfirmBillWeight.ToString("0.00"));
                             cell.SetCellValue(dbData.FirstOrDefault().CustomerConfirmBillWeight.ToString("0.00"));
-                            if (RowIndex > 2) { sheet.AddMergedRegion(new CellRangeAddress(startRow, RowIndex - 1, 8, 8)); }
+                            if ((RowIndex- startRow) > 1) { sheet.AddMergedRegion(new CellRangeAddress(startRow, RowIndex - 1, 8, 8)); }
                             break;
                             break;
                     }
                     }
                 }
                 }