Ver a proveniência

update

master
cyril.tsui há 1 mês
ascendente
cometimento
d6b3efa2be
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      src/main/java/com/ffii/fpsms/modules/master/web/ProductionScheduleController.kt

+ 1
- 1
src/main/java/com/ffii/fpsms/modules/master/web/ProductionScheduleController.kt Ver ficheiro

@@ -86,7 +86,7 @@ class ProductionScheduleController(
val latestRoughScheduleAt = productionScheduleService.getLatestScheduleAt("rough")

// assume schedule period is thursday to wednesday
val assignDate = ((genDate ?: today).dayOfWeek.value + 4) % 7 + 1
val assignDate = ((genDate ?: today).dayOfWeek.value + 3) % 7 + 1

// val assignDate = abs(Duration.between(latestRoughScheduleAt, today).toDays() % 7) + 1
// val finalAssignDate = if (assignDate.toInt() == 0) {


Carregando…
Cancelar
Guardar