api倒数数据转换需改

This commit is contained in:
lym
2025-04-08 14:27:55 +08:00
parent 82683dd154
commit dd56e0ea2e
@@ -1326,7 +1326,7 @@ public class ApiTypeRealize {
} }
List<IContourData> contourData = new ArrayList<>(); List<IContourData> contourData = new ArrayList<>();
for (int j = 0; j < element.size(); j++) { for (int j = 0; j < element.size(); j++) {
JSONObject point = element.getJSONObject(i); JSONObject point = element.getJSONObject(j);
String[] points = splitAndTrim(point.getString(ProduceApiConstants.BPD_MODEL_ORIGIN_MODELING_HOLES_POS)); String[] points = splitAndTrim(point.getString(ProduceApiConstants.BPD_MODEL_ORIGIN_MODELING_HOLES_POS));
Point pointVO = Point.builder() Point pointVO = Point.builder()
.x(Double.valueOf(points[X])) .x(Double.valueOf(points[X]))