From 7d0bc83b67243455d10abd16346168de70e04c9b Mon Sep 17 00:00:00 2001 From: MinaR Date: Mon, 3 Nov 2025 18:24:18 +0100 Subject: [PATCH] sistemato erroer null --- ems-core/src/main/resources/rules/production.drl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ems-core/src/main/resources/rules/production.drl b/ems-core/src/main/resources/rules/production.drl index bffbcfed27..fd1a18fc7e 100644 --- a/ems-core/src/main/resources/rules/production.drl +++ b/ems-core/src/main/resources/rules/production.drl @@ -147,7 +147,8 @@ rule "completeDaOraRapp" no-loop when eval(completeRulesEnabled) - $rLavR: JtbRLavr(dataLav != null && !UtilityLocalDate.isNull(daOra) != null && UtilityLocalDate.daysAfterDate(dataLav, daOra.toLocalDate()) != 0 ) + $rLavR: JtbRLavr(dataLav != null && !UtilityLocalDate.isNull(daOra) && + UtilityLocalDate.daysAfterDate(dataLav, daOra.toLocalDate()) != 0 ) then LocalDateTime daOra = ProductionsRules.recalcDataRapp($rLavR.getDataLav(), $rLavR.getDaOra()); modify ( $rLavR ) { setDaOra(daOra) }