Finish Licor_ContrattiDiAcquisto_FixDataOff
This commit is contained in:
@@ -89,6 +89,7 @@ then
|
||||
setDataOff(new Date())
|
||||
}
|
||||
end
|
||||
|
||||
rule "completeAnnoOff"
|
||||
no-loop
|
||||
when
|
||||
|
||||
@@ -95,10 +95,15 @@ public class ContrattiDiAcquistoService {
|
||||
if (UtilityString.isNullOrEmpty(atbOfft.getCodAlis())) {
|
||||
atbOfft.setCodAlis(codAlis);
|
||||
}
|
||||
|
||||
if (atbOfft.getStatoOfferta() == null) {
|
||||
atbOfft.setStatoOfferta(AtbOfft.StatoOfferta.CONTRATTO);
|
||||
}
|
||||
|
||||
if (atbOfft.getIdContratto() == null && atbOfft.getDataOff() == null) {
|
||||
atbOfft.setDataOff(new Date());
|
||||
}
|
||||
|
||||
entityList.add(atbOfft);
|
||||
|
||||
entityProcessor.processEntityList(entityList, false);
|
||||
|
||||
Reference in New Issue
Block a user