Merge branch 'develop' into feature/JDK11
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:
@@ -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)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user