Merge remote-tracking branch 'origin/feature/RefactoringGestioneColli' into feature/RefactoringGestioneColli
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:
@@ -109,7 +109,7 @@ public class ColliEviosysImportService {
|
||||
EntityBase entityBase = ImportCore(
|
||||
UtilityExcel.getCellAsString(row, 0, true), // barcodeUl
|
||||
codAnag,
|
||||
UtilityExcel.getCellAsString(row, 1, true), // codMart
|
||||
decodeCodArtFor(UtilityExcel.getCellAsString(row, 1, true)), // codMart
|
||||
UtilityExcel.getCellAsString(row, 7, true), // lotto
|
||||
UtilityString.stringToBigDecimal(UtilityExcel.getCellAsString(row, 3, true)), // qta
|
||||
anomalie
|
||||
@@ -279,6 +279,10 @@ public class ColliEviosysImportService {
|
||||
return state;
|
||||
}, (s1, s2) -> s1)[1];
|
||||
|
||||
return decodeCodArtFor(codArtFor);
|
||||
}
|
||||
|
||||
private String decodeCodArtFor(String codArtFor) throws Exception {
|
||||
if (codArtFor != null) {
|
||||
String sql = Query.format("SELECT cod_mart FROM mtb_lisa WHERE cod_art_for = %s", codArtFor);
|
||||
String codMart = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(multiDBTransactionManager.getPrimaryConnection(), sql);
|
||||
|
||||
Reference in New Issue
Block a user