Explorar el Código

update

master
cyril.tsui hace 1 mes
padre
commit
d6b3efa2be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 fichero

@@ -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) {


Cargando…
Cancelar
Guardar