fix:阶梯管信息只获取薄的管壁厚

This commit is contained in:
2025-01-08 18:18:53 +08:00
parent 199232be57
commit 1f222cddcf

View File

@@ -78,7 +78,7 @@ public class SlitterTaskUtil {
// 假设壁厚默认值为15如果描述数组长度为4则重新赋值
String th = tubeArray.length == 5 ? tubeArray[3] : "15";
if (tubeArray[3].contains("-")) {
th = tubeArray[3].split("-")[1];
th = tubeArray[3].split("-")[0];
}
// 计算外径和内径