Merge branch 'refs/heads/develop' into GestioneDocumentiLavorazioneWMS

This commit is contained in:
2024-09-13 10:36:01 +02:00

View File

@@ -116,7 +116,7 @@ public class SocialWareEcommerceService {
productSW.setProductCategory(category);
}
if ("S".compareTo(newVersion) == 0) {
/* if ("S".compareTo(newVersion) == 0) {
sql = "select left(customer_group_id, len(customer_group_id) -1) as customer_group_id, " +
" tipo, " +
" price, " +
@@ -137,7 +137,7 @@ public class SocialWareEcommerceService {
List<ProductSpecialDTOSW> productSpecialDTOSW = new ResultSetMapper()
.mapQuerySetToList(multiDBTransactionManager.getPrimaryConnection(), sql, ProductSpecialDTOSW.class);
productSW.setProductSpecial(productSpecialDTOSW);
}
}*/
StringWriter writer = new StringWriter();
jsonObjectMapper.writeValue(writer, productSW);