Procházet zdrojové kódy

update manhour sum report total

pull/3/head
MSI\derek před 7 měsíci
rodič
revize
04d4422672
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt

+ 2
- 2
src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt Zobrazit soubor

@@ -3842,13 +3842,13 @@ open class ReportService(
}
// total
tempRow = getOrCreateRow(sheet, rowIndex)
columnIndex = monthList.values.firstNotNullOfOrNull { it }!! - 1
columnIndex = monthList.values.firstNotNullOfOrNull { it }!! - 2
tempCell = getOrCreateCell(tempRow, columnIndex)
tempCell.setCellValue("Total:")
CellUtil.setCellStyleProperties(tempCell, fontArgs2(sheet, "Times New Roman",false))
setAlignment(tempCell,"top", "right")
for (curr in monthList) {
columnIndex = curr.value
columnIndex = curr.value - 1
val columnLetter = CellReference.convertNumToColString(columnIndex)
tempCell = getOrCreateCell(tempRow, columnIndex)
CellUtil.setCellStyleProperties(tempCell,


Načítá se…
Zrušit
Uložit