Aggiunto check in caso last step null in openOrderStep
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -314,7 +314,16 @@ public class MesProductionServiceV2 {
|
||||
rs.close();
|
||||
ps.close();
|
||||
|
||||
Date dataIniz = null;
|
||||
if (lastStep == null) {
|
||||
throw new Exception(String.format(
|
||||
"Errore nella lettura della step. Gestione %s, data ord. %s, num ord. %d",
|
||||
gestioneOrd,
|
||||
UtilityDate.formatDate(dataOrd, CommonConstants.DATE_FORMAT_DMY),
|
||||
numOrd
|
||||
));
|
||||
}
|
||||
|
||||
Date dataIniz;
|
||||
if (dataInizLav == null) {
|
||||
dataIniz = new Date();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user