Merge branch 'develop' into feature/JDK11
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
jenkins
2025-10-03 16:58:22 +02:00

View File

@@ -12,6 +12,7 @@ import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import java.io.ByteArrayOutputStream;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -118,7 +119,11 @@ public class DataSheetServices {
HashMap<String, String> resultMap = new HashMap<>();
allVariables.forEach(variable -> {
if (mtb_aart.containsKey(variable)) {
if (variable.equalsIgnoreCase("colli_pedana") || variable.equalsIgnoreCase("colli_strato")){
BigDecimal value = UtilityHashMap.getValueIfExists(mtb_aart, variable);
resultMap.put(variable, value.toBigInteger().toString());
} else if (mtb_aart.containsKey(variable)) {
resultMap.put(variable, String.valueOf(mtb_aart.get(variable)));
}