|
@@ -6,6 +6,7 @@ import com.mixsmart.utils.CustomFunction;
|
|
import com.mixsmart.utils.FormulaUtils;
|
|
import com.mixsmart.utils.FormulaUtils;
|
|
import com.mixsmart.utils.StringUtils;
|
|
import com.mixsmart.utils.StringUtils;
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
+import org.springblade.core.tool.utils.BeanUtil;
|
|
import org.springblade.core.tool.utils.Func;
|
|
import org.springblade.core.tool.utils.Func;
|
|
import org.springblade.core.tool.utils.StringPool;
|
|
import org.springblade.core.tool.utils.StringPool;
|
|
import org.springblade.manager.dto.ElementData;
|
|
import org.springblade.manager.dto.ElementData;
|
|
@@ -83,7 +84,7 @@ public class FormulaTurnPoint implements FormulaStrategy {
|
|
info.setMin(0.4D);
|
|
info.setMin(0.4D);
|
|
}
|
|
}
|
|
/* 分组计算*/
|
|
/* 分组计算*/
|
|
- List<List<TurnPoint>> result = total.stream().map(e->ITurnPointCalculator.create(e, configMap,info)).collect(Collectors.toList());
|
|
|
|
|
|
+ List<List<TurnPoint>> result = total.stream().map(e->ITurnPointCalculator.create(e, configMap, BeanUtil.copyProperties(info,LevelInfo.class))).collect(Collectors.toList());
|
|
/*附加属性如:顶面和底面高程判断*/
|
|
/*附加属性如:顶面和底面高程判断*/
|
|
forG8(cur,result, (Map<String, Object>)tec.getConstantMap().computeIfAbsent("G8", k -> new HashMap<>()),tec);
|
|
forG8(cur,result, (Map<String, Object>)tec.getConstantMap().computeIfAbsent("G8", k -> new HashMap<>()),tec);
|
|
/*插值分页*/
|
|
/*插值分页*/
|