Controllo sul null
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package it.integry.ems.migration.model;import it.integry.ems.migration._base.BaseMigration;
|
||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||
|
||||
public class Migration_20240606144222 extends BaseMigration implements MigrationModelInterface{
|
||||
|
||||
@Override
|
||||
public void up()throws Exception {
|
||||
if(isHistoryDB())
|
||||
return;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down()throws Exception{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -473,7 +473,7 @@ public class ListiniVenditaServices {
|
||||
.filter(x -> x instanceof VtbListData &&
|
||||
((VtbListData) x).getCodVlis().equalsIgnoreCase(finalVtbListData.getCodVlis()) &&
|
||||
((VtbListData) x).getCodPromo().equalsIgnoreCase(finalVtbListData.getCodPromo()) &&
|
||||
((VtbListData) x).getNote().equalsIgnoreCase(finalVtbListData.getNote()) &&
|
||||
UtilityString.equalsIgnoreCase(((VtbListData) x).getNote(), finalVtbListData.getNote()) &&
|
||||
Objects.equals(((VtbListData) x).getDataIniz(), finalVtbListData.getDataIniz()) &&
|
||||
Objects.equals(((VtbListData) x).getDataFine(), dataFine)
|
||||
).findFirst();
|
||||
|
||||
Reference in New Issue
Block a user