diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/order/OrderController.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/order/OrderController.java index 9a874f920..6f8bb8fd5 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/order/OrderController.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/order/OrderController.java @@ -274,47 +274,8 @@ public class OrderController { @GetMapping("getApiData") @Operation(summary = "api数据获取") @PreAuthorize("@ss.hasPermission('executor:order:getApiData')") - public CommonResult test(@RequestParam(value = "orderNo", required = false, defaultValue = "20230809027818") String orderNo) { - -// orderService.importApiData(orderNo); -// 获取token - JSONObject json = apiOrderService.getApiTokenMessage("CF7526AD51", "5f467b508061eff60bdacc7230357d2f"); -// 判断获取token是否成功 - if (json.getString("err_msg").equals("success")) { - System.out.println("获取token成功"); - String token = json.getJSONObject("info").getString("access_token"); - JSONObject jsonObject = new JSONObject(); - jsonObject.put("order_no", orderNo);//生产单号需要传入赋值 - jsonObject.put("format", "json"); - - JSONObject partsObject = new JSONObject(); - partsObject.put("curr_page", 1);//生产单号需要传入赋值 - partsObject.put("page_count", "100"); - partsObject.put("order_no", orderNo); -// 数据解析 - JSONObject data = apiOrderService.getApiOrderMessage(token, jsonObject); - JSONObject parts = apiOrderService.getApiOrderPartsMessage(token, partsObject); -// if (parts.getString("err_code").equals("0")) { -// System.out.println("获取数据成功"); -// String value = parts.getString("value"); -// System.out.println("value " + parts.getString("value") ); -//// System.out.println("list " + toListMap(value)); -//// 数据格式进行转换 -// System.out.println("order " + value.substring(1, value.length() - 1)); -// } - if (data.getString("err_code").equals("0")) { - System.out.println("获取数据成功"); - String value = data.getString("value"); - System.out.println("value " + data.getString("value") ); -// System.out.println("list " + toListMap(value)); -// 数据格式进行转换 - System.out.println("order " + value.substring(1, value.length() - 1)); - }else { - System.out.println("获取数据shibai"); - } - } - - return success(apiOrderService.getApiTokenMessage("CF7526AD51", "5f467b508061eff60bdacc7230357d2f")); + public CommonResult test(@RequestParam(value = "orderNo", required = false, defaultValue = "20230809027818") String orderNo) { + return success(orderService.importApiData(orderNo)); } diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderServiceImpl.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderServiceImpl.java index d4f04e6dd..dcf963aee 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderServiceImpl.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderServiceImpl.java @@ -391,12 +391,11 @@ public class OrderServiceImpl implements OrderService { throw exception(APP_TOKEN_ERROR); } String token = json.getJSONObject("info").getString("access_token"); -// 获取生产信息 +// 获取板件信息 JSONObject jsonPlates = new JSONObject(); jsonPlates.put("order_no", orderNo);//生产单号需要传入赋值 jsonPlates.put("format", "json"); JSONObject dataPlates = apiOrderService.getApiOrderMessage(token, jsonPlates); - System.out.println(dataPlates); if (!dataPlates.getString("err_code").equals("0")) { throw exception(PLATE_DATA_ERROR); } @@ -406,7 +405,7 @@ public class OrderServiceImpl implements OrderService { jsonParts.put("page_count", PARTS_PAGE_MAX); jsonParts.put("order_no", orderNo); JSONObject parts = apiOrderService.getApiOrderPartsMessage(token, jsonParts); - if (!dataPlates.getString("err_code").equals("0")) { + if (!parts.getString("err_code").equals("0")) { throw exception(PARTS_DATA_ERROR); } JSONObject dataParts = new JSONObject(); @@ -416,7 +415,7 @@ public class OrderServiceImpl implements OrderService { mergeJSONObjects(dataParts, value); } // 转换 - List plateDetails = (List) apiTypeChangeRealize.apiPlateDataChange(dataPlates,dataParts); + List plateDetails = (List) apiTypeChangeRealize.apiPlateDataChange(dataPlates.getJSONObject("value"),dataParts); System.out.println(plateDetails); return null; } diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/deviseData/dataTwo/PartsInfo.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/deviseData/dataTwo/PartsInfo.java index 5f8c82b0e..afd518c39 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/deviseData/dataTwo/PartsInfo.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/deviseData/dataTwo/PartsInfo.java @@ -35,21 +35,19 @@ public class PartsInfo { private String factory; //商品生产厂商 private String brand; //商品品牌 private String model; //商品型号 - private String spec; //商品规格 private String unit; //商品单位 private Double price; // 配件价格 private Boolean isComposite; // 是否为配件 private String groupName; // 组件名称 + private String processGroup; // 五金加工组 private String objectType; // 五金类型 private String objectSpecExtras; // 五金额外规格 - private String partsSpec; // 配件属性 - private String doorRemark; // 门板组件铰链备注 - private String hingeRemark; // 门板组件拉手备注 - - private Double goodsNumber; //产品数量为特殊处理,板件和配件都有数量 - + private String doorRemark; // 门板组件铰链备注 + private String hingeRemark; // 门板组件拉手备注 private String remark; + private String specialRemark; // 特殊备注(Json字符串) + } diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/deviseData/dataTwo/PlateDetail.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/deviseData/dataTwo/PlateDetail.java index 8b3bd1b39..c0afe7a14 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/deviseData/dataTwo/PlateDetail.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/deviseData/dataTwo/PlateDetail.java @@ -33,6 +33,10 @@ public class PlateDetail { private String roomsName; //房间名称 private String bodyName; //柜体名 private String bodyNo; // 柜体号 +// 柜体 长 宽 深 + private Double width; + private Double height; + private Double depth; // 柜体成倍拆单的倍数 private Integer multiNum; @@ -44,8 +48,8 @@ public class PlateDetail { private List groupList; // 成品长宽、面积 - private Double width; - private Double length; + private Double plateWidth; + private Double plateLength; private Double acreage; // 开料长宽、面积 diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/fileConversion/admin/api/webcad/ApiTypeChangeRealize.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/fileConversion/admin/api/webcad/ApiTypeChangeRealize.java index 47fccdd28..841c969f6 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/fileConversion/admin/api/webcad/ApiTypeChangeRealize.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/util/fileConversion/admin/api/webcad/ApiTypeChangeRealize.java @@ -104,8 +104,8 @@ public class ApiTypeChangeRealize{ .group(block.getString("ProcessGroupName")) .multiNum(1) .groupList(getProcessGroup(block)) - .width(Double.valueOf(block.getString("Width"))) - .length(Double.valueOf(block.getString("Length"))) + .plateWidth(Double.valueOf(block.getString("Width"))) + .plateLength(Double.valueOf(block.getString("Length"))) .acreage(Double.valueOf(block.getString("Size"))) .splitWidth(Double.valueOf(block.getString("CuttingWidth"))) .splitLength(Double.valueOf(block.getString("CuttingLength"))) @@ -175,127 +175,24 @@ public class ApiTypeChangeRealize{ .factory(parts.getString("Factory")) .brand(parts.getString("Brand")) .model(parts.getString("Model")) - .spec(parts.getString("Spec")) .unit(parts.getString("Units")) .price(parts.getDouble("Price")) .isComposite(Boolean.valueOf(parts.getString("IsComposite"))) .groupName(parts.getString("GroupName")) .objectType(parts.getString("ObjectType")) .objectSpecExtras(parts.getString("SpecExtras")) - .partsSpec(parts.getString("PartsSpec")) .goodsNumber(Double.valueOf(parts.getString("GoodsNumber"))) .doorRemark(parts.getString("DoorRemark")) .hingeRemark(parts.getString("HingeRemark")) + .specialRemark(parts.getString("SpecialRemark")) .remark(parts.getString("Remark")) + .processGroup(parts.getString("ProcessGroup")) .build(); } } + System.out.println(" partsInfos " + partsInfos); return partsInfos; } -// public static void main(String[] args) { -// -// String jsonData = "{\"Orders\":[{\"OrderNo\":20240423031257,\"CustomOrderNo\":\"\",\"CustomNo\":1538,\"CustomName\":\"sqy_cf\",\"SalePerson\":\"sqy_cf\",\"SaleDate\":\"2024-04-23\",\"DeliveryDate\":\"2024-05-13\",\"Consigee\":\"fvdf\",\"ConsigeePhone\":\"11111111111\",\"ConsigeeAddress\":\"vfvz\",\"Remark\":\"\",\"Materials\":[{\"Name\":\"F-A330铁力木(颗粒板)\",\"GoodsID\":517,\"GoodsSN\":\"\",\"Specification\":\"2440*1220*18\",\"Material\":\"颗粒板\",\"Color\":\"F-A330铁力木\",\"Thickness\":18,\"Width\":1220,\"Length\":2440,\"WaveFlag\":true,\"Blocks\":[{\"BlockNo\":2404003442203,\"RoomName\":\"未命名\",\"BoxNo\":\"\",\"BoxName\":\"标准柜2\",\"BlockID\":4290018,\"CustomNo\":\"\",\"BlockName\":\"背板\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"drills\":[{\"name\":\"三合一\",\"type\":\"预埋件\",\"face\":\"反面\",\"count\":6},{\"name\":\"木销\",\"type\":\"预埋件\",\"face\":\"反面\",\"count\":6}],\"extra\":{\"boardType\":\"背板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":false,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[{\"name\":\"抽屉\",\"size\":{\"width\":600,\"height\":300,\"depth\":418}},{\"name\":\"斜切\",\"size\":{\"width\":600,\"height\":300,\"depth\":18}}],\"edgeRemarks\":[\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"抽屉1,斜切1\",\"Width\":\"600\",\"Length\":\"300\",\"Size\":\"0.18\",\"CuttingWidth\":\"598\",\"CuttingLength\":\"298\",\"CuttingSize\":\"0.178\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":false,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[],\"OrgPoints\":[],\"Holes\":[{\"X\":\"28\",\"Y\":\"229\",\"Face\":1,\"Diameter\":\"5\",\"Depth\":\"13.5\"},{\"X\":\"28\",\"Y\":\"69\",\"Face\":1,\"Diameter\":\"5\",\"Depth\":\"13.5\"},{\"X\":\"28\",\"Y\":\"197\",\"Face\":1,\"Diameter\":\"8\",\"Depth\":\"13.5\"},{\"X\":\"28\",\"Y\":\"101\",\"Face\":1,\"Diameter\":\"8\",\"Depth\":\"13.5\"},{\"X\":\"570\",\"Y\":\"229\",\"Face\":1,\"Diameter\":\"5\",\"Depth\":\"13.5\"},{\"X\":\"570\",\"Y\":\"69\",\"Face\":1,\"Diameter\":\"5\",\"Depth\":\"13.5\"},{\"X\":\"570\",\"Y\":\"197\",\"Face\":1,\"Diameter\":\"8\",\"Depth\":\"13.5\"},{\"X\":\"570\",\"Y\":\"101\",\"Face\":1,\"Diameter\":\"8\",\"Depth\":\"13.5\"},{\"X\":\"78\",\"Y\":\"28\",\"Face\":1,\"Diameter\":\"5\",\"Depth\":\"13.5\"},{\"X\":\"520\",\"Y\":\"28\",\"Face\":1,\"Diameter\":\"5\",\"Depth\":\"13.5\"},{\"X\":\"110\",\"Y\":\"28\",\"Face\":1,\"Diameter\":\"8\",\"Depth\":\"13.5\"},{\"X\":\"488\",\"Y\":\"28\",\"Face\":1,\"Diameter\":\"8\",\"Depth\":\"13.5\"}],\"Models\":[],\"SideHoles\":[]},{\"BlockNo\":2404003442201,\"RoomName\":\"未命名\",\"BoxNo\":\"\",\"BoxName\":\"标准柜2\",\"BlockID\":4290016,\"CustomNo\":\"\",\"BlockName\":\"层板\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"drills\":[{\"name\":\"三合一\",\"type\":\"偏心轮\",\"face\":\"反面\",\"count\":2},{\"name\":\"三合一\",\"type\":\"连接杆\",\"face\":\"左侧面\",\"count\":2},{\"name\":\"木销\",\"type\":\"连接杆\",\"face\":\"左侧面\",\"count\":2}],\"extra\":{\"boardType\":\"层板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":false,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[{\"name\":\"抽屉\",\"size\":{\"width\":600,\"height\":300,\"depth\":418}}],\"edgeRemarks\":[\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"抽屉1\",\"Width\":\"400\",\"Length\":\"542\",\"Size\":\"0.217\",\"CuttingWidth\":\"398\",\"CuttingLength\":\"540\",\"CuttingSize\":\"0.215\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":false,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[],\"OrgPoints\":[],\"Holes\":[{\"X\":\"33\",\"Y\":\"491\",\"Face\":1,\"Diameter\":\"15\",\"Depth\":\"13.5\"},{\"X\":\"33\",\"Y\":\"49\",\"Face\":1,\"Diameter\":\"15\",\"Depth\":\"13.5\"}],\"Models\":[],\"SideHoles\":[{\"StartPoint\":\"0,492,-9\",\"EndPoint\":\"34,492,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4},{\"StartPoint\":\"0,50,-9\",\"EndPoint\":\"34,50,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4},{\"StartPoint\":\"0,460,-9\",\"EndPoint\":\"34,460,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4},{\"StartPoint\":\"0,82,-9\",\"EndPoint\":\"34,82,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4}]},{\"BlockNo\":2404003442200,\"RoomName\":\"未命名\",\"BoxNo\":\"\",\"BoxName\":\"标准柜2\",\"BlockID\":4290015,\"CustomNo\":\"\",\"BlockName\":\"右侧板\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"drills\":[{\"name\":\"三合一\",\"type\":\"偏心轮\",\"face\":\"正面\",\"count\":2},{\"name\":\"三合一\",\"type\":\"连接杆\",\"face\":\"左侧面\",\"count\":2},{\"name\":\"木销\",\"type\":\"连接杆\",\"face\":\"左侧面\",\"count\":2}],\"extra\":{\"boardType\":\"立板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":false,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[{\"name\":\"抽屉\",\"size\":{\"width\":600,\"height\":300,\"depth\":418}}],\"edgeRemarks\":[\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"抽屉1\",\"Width\":\"400\",\"Length\":\"260\",\"Size\":\"0.104\",\"CuttingWidth\":\"398\",\"CuttingLength\":\"258\",\"CuttingSize\":\"0.103\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":false,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[],\"OrgPoints\":[],\"Holes\":[{\"X\":\"33\",\"Y\":\"209\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"},{\"X\":\"33\",\"Y\":\"49\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"}],\"Models\":[{\"Depth\":\"9\",\"Face\":1,\"Diameter\":\"6\",\"ToolNo\":\"\",\"Points\":[{\"Pos\":\"-1,-1,-9\",\"Curve\":\"0\"},{\"Pos\":\"-1,14,-9\",\"Curve\":\"0\"},{\"Pos\":\"399,14,-9\",\"Curve\":\"0\"},{\"Pos\":\"399,-1,-9\",\"Curve\":\"0\"},{\"Pos\":\"-1,-1,-9\",\"Curve\":\"0\"},{\"Pos\":\"5,5,-9\",\"Curve\":\"0\"},{\"Pos\":\"393,5,-9\",\"Curve\":\"0\"},{\"Pos\":\"393,8,-9\",\"Curve\":\"0\"},{\"Pos\":\"5,8,-9\",\"Curve\":\"0\"},{\"Pos\":\"5,5,-9\",\"Curve\":\"0\"}],\"OffsetList\":[],\"OriginModeling\":[{\"Pos\":\"0,0,0\",\"Curve\":\"0\"},{\"Pos\":\"400,0,0\",\"Curve\":\"0\"},{\"Pos\":\"400,18,0\",\"Curve\":\"0\"},{\"Pos\":\"0,18,0\",\"Curve\":\"0\"},{\"Pos\":\"0,0,0\",\"Curve\":\"0\"}]},{\"Depth\":\"5\",\"Face\":1,\"Diameter\":\"6\",\"ToolNo\":\"\",\"Points\":[{\"Pos\":\"373,35,-5\",\"Curve\":\"0\"},{\"Pos\":\"373,259,-5\",\"Curve\":\"0\"},{\"Pos\":\"376,259,-5\",\"Curve\":\"0\"},{\"Pos\":\"376,35,-5\",\"Curve\":\"0\"},{\"Pos\":\"373,35,-5\",\"Curve\":\"0\"}],\"OffsetList\":[],\"OriginModeling\":[{\"Pos\":\"371,33,0\",\"Curve\":\"0\"},{\"Pos\":\"380,33,0\",\"Curve\":\"0\"},{\"Pos\":\"380,260,0\",\"Curve\":\"0\"},{\"Pos\":\"371,260,0\",\"Curve\":\"0\"},{\"Pos\":\"371,33,0\",\"Curve\":\"0\"}]}],\"SideHoles\":[{\"StartPoint\":\"0,210,-9\",\"EndPoint\":\"34,210,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4},{\"StartPoint\":\"0,50,-9\",\"EndPoint\":\"34,50,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4},{\"StartPoint\":\"0,178,-9\",\"EndPoint\":\"34,178,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4},{\"StartPoint\":\"0,82,-9\",\"EndPoint\":\"34,82,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4}]},{\"BlockNo\":2404003442199,\"RoomName\":\"未命名\",\"BoxNo\":\"\",\"BoxName\":\"标准柜2\",\"BlockID\":4290014,\"CustomNo\":\"\",\"BlockName\":\"左侧板\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"drills\":[{\"name\":\"三合一\",\"type\":\"偏心轮\",\"face\":\"正面\",\"count\":2},{\"name\":\"三合一\",\"type\":\"连接杆\",\"face\":\"左侧面\",\"count\":2},{\"name\":\"木销\",\"type\":\"连接杆\",\"face\":\"左侧面\",\"count\":2}],\"extra\":{\"boardType\":\"立板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":false,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[{\"name\":\"抽屉\",\"size\":{\"width\":600,\"height\":300,\"depth\":418}}],\"edgeRemarks\":[\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"抽屉1\",\"Width\":\"400\",\"Length\":\"260\",\"Size\":\"0.104\",\"CuttingWidth\":\"398\",\"CuttingLength\":\"258\",\"CuttingSize\":\"0.103\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":false,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[],\"OrgPoints\":[],\"Holes\":[{\"X\":\"33\",\"Y\":\"209\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"},{\"X\":\"33\",\"Y\":\"49\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"}],\"Models\":[{\"Depth\":\"9\",\"Face\":0,\"Diameter\":\"6\",\"ToolNo\":\"\",\"Points\":[{\"Pos\":\"-1,-1,-9\",\"Curve\":\"0\"},{\"Pos\":\"-1,14,-9\",\"Curve\":\"0\"},{\"Pos\":\"399,14,-9\",\"Curve\":\"0\"},{\"Pos\":\"399,-1,-9\",\"Curve\":\"0\"},{\"Pos\":\"-1,-1,-9\",\"Curve\":\"0\"},{\"Pos\":\"5,5,-9\",\"Curve\":\"0\"},{\"Pos\":\"393,5,-9\",\"Curve\":\"0\"},{\"Pos\":\"393,8,-9\",\"Curve\":\"0\"},{\"Pos\":\"5,8,-9\",\"Curve\":\"0\"},{\"Pos\":\"5,5,-9\",\"Curve\":\"0\"}],\"OffsetList\":[],\"OriginModeling\":[{\"Pos\":\"0,0,0\",\"Curve\":\"0\"},{\"Pos\":\"400,0,0\",\"Curve\":\"0\"},{\"Pos\":\"400,18,0\",\"Curve\":\"0\"},{\"Pos\":\"0,18,0\",\"Curve\":\"0\"},{\"Pos\":\"0,0,0\",\"Curve\":\"0\"}]},{\"Depth\":\"5\",\"Face\":0,\"Diameter\":\"6\",\"ToolNo\":\"\",\"Points\":[{\"Pos\":\"373,35,-5\",\"Curve\":\"0\"},{\"Pos\":\"373,259,-5\",\"Curve\":\"0\"},{\"Pos\":\"376,259,-5\",\"Curve\":\"0\"},{\"Pos\":\"376,35,-5\",\"Curve\":\"0\"},{\"Pos\":\"373,35,-5\",\"Curve\":\"0\"}],\"OffsetList\":[],\"OriginModeling\":[{\"Pos\":\"371,33,0\",\"Curve\":\"0\"},{\"Pos\":\"380,33,0\",\"Curve\":\"0\"},{\"Pos\":\"380,260,0\",\"Curve\":\"0\"},{\"Pos\":\"371,260,0\",\"Curve\":\"0\"},{\"Pos\":\"371,33,0\",\"Curve\":\"0\"}]}],\"SideHoles\":[{\"StartPoint\":\"0,210,-9\",\"EndPoint\":\"34,210,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4},{\"StartPoint\":\"0,50,-9\",\"EndPoint\":\"34,50,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4},{\"StartPoint\":\"0,178,-9\",\"EndPoint\":\"34,178,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4},{\"StartPoint\":\"0,82,-9\",\"EndPoint\":\"34,82,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":4}]},{\"BlockNo\":2404003442191,\"RoomName\":\"F01\",\"BoxNo\":\"\",\"BoxName\":\"G03\",\"BlockID\":4290013,\"CustomNo\":\"\",\"BlockName\":\"二维刀路-免拉手\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"extra\":{\"boardType\":\"背板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":true,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[],\"edgeRemarks\":[\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"\",\"Width\":\"400\",\"Length\":\"600\",\"Size\":\"0.24\",\"CuttingWidth\":\"398\",\"CuttingLength\":\"598\",\"CuttingSize\":\"0.238\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":false,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[],\"OrgPoints\":[],\"Holes\":[],\"Models\":[{\"Depth\":\"15\",\"Face\":0,\"Diameter\":\"24\",\"ToolNo\":\"24牛角拉手刀\",\"Points\":[{\"Pos\":\"412,-1,-15\",\"Curve\":\"0\"},{\"Pos\":\"392,-1,-15\",\"Curve\":\"0\"},{\"Pos\":\"392,393.82,-15\",\"Curve\":\"0\"},{\"Pos\":\"412,413.82,-15\",\"Curve\":\"0\"}],\"OffsetList\":[{\"Value\":\"0\",\"Name\":\"24牛角拉手刀\",\"Diameter\":\"24\",\"Angle\":\"0\",\"Depth\":\"15\"}]},{\"Depth\":\"12\",\"Face\":1,\"Diameter\":\"25\",\"ToolNo\":\"威法拉直器刀\",\"Points\":[{\"Pos\":\"249,614,-12\",\"Curve\":\"0\"},{\"Pos\":\"249,-16,-12\",\"Curve\":\"0\"}],\"OffsetList\":[{\"Value\":\"0\",\"Name\":\"威法拉直器刀\",\"Diameter\":\"25\",\"Angle\":\"0\",\"Depth\":\"12\"}]}],\"SideHoles\":[]},{\"BlockNo\":2404003442190,\"RoomName\":\"F01\",\"BoxNo\":\"\",\"BoxName\":\"G03\",\"BlockID\":4290012,\"CustomNo\":\"\",\"BlockName\":\"二维刀路-免拉手\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"extra\":{\"boardType\":\"背板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":true,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[],\"edgeRemarks\":[\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"\",\"Width\":\"400\",\"Length\":\"600\",\"Size\":\"0.24\",\"CuttingWidth\":\"398\",\"CuttingLength\":\"598\",\"CuttingSize\":\"0.238\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":false,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[],\"OrgPoints\":[],\"Holes\":[],\"Models\":[{\"Depth\":\"15\",\"Face\":0,\"Diameter\":\"25\",\"ToolNo\":\"25免拉手刀\",\"Points\":[{\"Pos\":\"412,184.18,-15\",\"Curve\":\"0\"},{\"Pos\":\"392,204.18,-15\",\"Curve\":\"0\"},{\"Pos\":\"392,304,-15\",\"Curve\":\"0\"},{\"Pos\":\"412,304,-15\",\"Curve\":\"0\"}],\"OffsetList\":[{\"Value\":\"0\",\"Name\":\"25免拉手刀\",\"Diameter\":\"25\",\"Angle\":\"0\",\"Depth\":\"15\"}]},{\"Depth\":\"15\",\"Face\":0,\"Diameter\":\"25\",\"ToolNo\":\"25免拉手刀\",\"Points\":[{\"Pos\":\"412,413.82,-15\",\"Curve\":\"0\"},{\"Pos\":\"392,393.82,-15\",\"Curve\":\"0\"},{\"Pos\":\"392,291.5,-15\",\"Curve\":\"0\"},{\"Pos\":\"412,291.5,-15\",\"Curve\":\"0\"}],\"OffsetList\":[{\"Value\":\"0\",\"Name\":\"25免拉手刀\",\"Diameter\":\"25\",\"Angle\":\"0\",\"Depth\":\"15\"}]}],\"SideHoles\":[]},{\"BlockNo\":2404003442189,\"RoomName\":\"F01\",\"BoxNo\":\"\",\"BoxName\":\"G02\",\"BlockID\":4290011,\"CustomNo\":\"\",\"BlockName\":\"加工组-2\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"extra\":{\"boardType\":\"背板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":false,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[{\"name\":\"弧形\",\"size\":{\"width\":400,\"height\":600,\"depth\":18}},{\"name\":\"斜切\",\"size\":{\"width\":400,\"height\":600,\"depth\":18}}],\"edgeRemarks\":[\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"弧形2,斜切1\",\"Width\":\"400\",\"Length\":\"600\",\"Size\":\"0.24\",\"CuttingWidth\":\"398\",\"CuttingLength\":\"598\",\"CuttingSize\":\"0.238\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":false,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[],\"OrgPoints\":[],\"Holes\":[],\"Models\":[],\"SideHoles\":[]},{\"BlockNo\":2404003442188,\"RoomName\":\"F01\",\"BoxNo\":\"\",\"BoxName\":\"G02\",\"BlockID\":4290010,\"CustomNo\":\"\",\"BlockName\":\"加工组-1\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"extra\":{\"boardType\":\"背板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":false,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[{\"name\":\"弧形\",\"size\":{\"width\":400,\"height\":600,\"depth\":18}}],\"edgeRemarks\":[\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"弧形1\",\"Width\":\"400\",\"Length\":\"600\",\"Size\":\"0.24\",\"CuttingWidth\":\"398\",\"CuttingLength\":\"598\",\"CuttingSize\":\"0.238\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":false,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[],\"OrgPoints\":[],\"Holes\":[],\"Models\":[],\"SideHoles\":[]},{\"BlockNo\":2404003442183,\"RoomName\":\"F01\",\"BoxNo\":\"\",\"BoxName\":\"G01 \",\"BlockID\":4290009,\"CustomNo\":\"\",\"BlockName\":\"异形-切角\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"drills\":[{\"name\":\"三合一\",\"type\":\"偏心轮\",\"face\":\"正面\",\"count\":2},{\"name\":\"三合一\",\"type\":\"连接杆\",\"face\":\"右侧面\",\"count\":2},{\"name\":\"木销\",\"type\":\"连接杆\",\"face\":\"右侧面\",\"count\":2}],\"extra\":{\"boardType\":\"背板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":false,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[],\"edgeRemarks\":[\"\",\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"\",\"Width\":\"400\",\"Length\":\"600\",\"Size\":\"0.24\",\"CuttingWidth\":\"398\",\"CuttingLength\":\"598\",\"CuttingSize\":\"0.238\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":true,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[{\"X\":\"0\",\"Y\":\"0\",\"Curve\":\"0\"},{\"X\":\"398\",\"Y\":\"0\",\"Curve\":\"0\"},{\"X\":\"398\",\"Y\":\"598\",\"Curve\":\"0\"},{\"X\":\"99.62\",\"Y\":\"598\",\"Curve\":\"0\"},{\"X\":\"0\",\"Y\":\"398.76\",\"Curve\":\"0\"}],\"OrgPoints\":[{\"X\":\"0\",\"Y\":\"0\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"400\",\"Y\":\"0\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"400\",\"Y\":\"600\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"100\",\"Y\":\"600\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"0\",\"Y\":\"400\",\"Curve\":\"0\",\"Edge\":\"1\"}],\"Holes\":[{\"X\":\"365\",\"Y\":\"549\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"},{\"X\":\"365\",\"Y\":\"49\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"}],\"Models\":[],\"SideHoles\":[{\"StartPoint\":\"400,550,-9\",\"EndPoint\":\"366,550,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,50,-9\",\"EndPoint\":\"366,50,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,518,-9\",\"EndPoint\":\"366,518,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,82,-9\",\"EndPoint\":\"366,82,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2}]},{\"BlockNo\":2404003442182,\"RoomName\":\"F01\",\"BoxNo\":\"\",\"BoxName\":\"G01 \",\"BlockID\":4290008,\"CustomNo\":\"\",\"BlockName\":\"异形-缺口\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"drills\":[{\"name\":\"三合一\",\"type\":\"偏心轮\",\"face\":\"正面\",\"count\":2},{\"name\":\"三合一\",\"type\":\"连接杆\",\"face\":\"右侧面\",\"count\":2},{\"name\":\"木销\",\"type\":\"连接杆\",\"face\":\"右侧面\",\"count\":2}],\"extra\":{\"boardType\":\"背板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":false,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[],\"edgeRemarks\":[\"\",\"\",\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"\",\"Width\":\"400\",\"Length\":\"600\",\"Size\":\"0.24\",\"CuttingWidth\":\"398\",\"CuttingLength\":\"598\",\"CuttingSize\":\"0.238\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":true,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[{\"X\":\"0\",\"Y\":\"0\",\"Curve\":\"0\"},{\"X\":\"398\",\"Y\":\"0\",\"Curve\":\"0\"},{\"X\":\"398\",\"Y\":\"598\",\"Curve\":\"0\"},{\"X\":\"100\",\"Y\":\"598\",\"Curve\":\"0\"},{\"X\":\"100\",\"Y\":\"398\",\"Curve\":\"0\"},{\"X\":\"0\",\"Y\":\"398\",\"Curve\":\"0\"}],\"OrgPoints\":[{\"X\":\"0\",\"Y\":\"0\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"400\",\"Y\":\"0\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"400\",\"Y\":\"600\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"100\",\"Y\":\"600\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"100\",\"Y\":\"400\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"0\",\"Y\":\"400\",\"Curve\":\"0\",\"Edge\":\"1\"}],\"Holes\":[{\"X\":\"365\",\"Y\":\"549\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"},{\"X\":\"365\",\"Y\":\"49\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"}],\"Models\":[],\"SideHoles\":[{\"StartPoint\":\"400,550,-9\",\"EndPoint\":\"366,550,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,50,-9\",\"EndPoint\":\"366,50,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,518,-9\",\"EndPoint\":\"366,518,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,82,-9\",\"EndPoint\":\"366,82,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2}]},{\"BlockNo\":2404003442181,\"RoomName\":\"F01\",\"BoxNo\":\"\",\"BoxName\":\"G01 \",\"BlockID\":4290007,\"CustomNo\":\"\",\"BlockName\":\"异形-圆角\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"drills\":[{\"name\":\"三合一\",\"type\":\"偏心轮\",\"face\":\"正面\",\"count\":2},{\"name\":\"三合一\",\"type\":\"预埋件\",\"face\":\"反面\",\"count\":2},{\"name\":\"木销\",\"type\":\"预埋件\",\"face\":\"反面\",\"count\":2},{\"name\":\"三合一\",\"type\":\"连接杆\",\"face\":\"右侧面\",\"count\":2},{\"name\":\"木销\",\"type\":\"连接杆\",\"face\":\"右侧面\",\"count\":2}],\"extra\":{\"boardType\":\"背板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":false,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[],\"edgeRemarks\":[\"\",\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"\",\"Width\":\"400\",\"Length\":\"600\",\"Size\":\"0.24\",\"CuttingWidth\":\"398\",\"CuttingLength\":\"598\",\"CuttingSize\":\"0.238\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":true,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[{\"X\":\"0\",\"Y\":\"0\",\"Curve\":\"0\"},{\"X\":\"398\",\"Y\":\"0\",\"Curve\":\"0\"},{\"X\":\"398\",\"Y\":\"598\",\"Curve\":\"0\"},{\"X\":\"99\",\"Y\":\"598\",\"Curve\":\"0.414213562373095\"},{\"X\":\"0\",\"Y\":\"499\",\"Curve\":\"0\"}],\"OrgPoints\":[{\"X\":\"0\",\"Y\":\"0\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"400\",\"Y\":\"0\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"400\",\"Y\":\"600\",\"Curve\":\"0\",\"Edge\":\"1\"},{\"X\":\"100\",\"Y\":\"600\",\"Curve\":\"0.414213562373095\",\"Edge\":\"1\"},{\"X\":\"0\",\"Y\":\"500\",\"Curve\":\"0\",\"Edge\":\"1\"}],\"Holes\":[{\"X\":\"365\",\"Y\":\"549\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"},{\"X\":\"365\",\"Y\":\"49\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"},{\"X\":\"270\",\"Y\":\"549\",\"Face\":1,\"Diameter\":\"5\",\"Depth\":\"13.5\"},{\"X\":\"270\",\"Y\":\"49\",\"Face\":1,\"Diameter\":\"5\",\"Depth\":\"13.5\"},{\"X\":\"270\",\"Y\":\"517\",\"Face\":1,\"Diameter\":\"8\",\"Depth\":\"13.5\"},{\"X\":\"270\",\"Y\":\"81\",\"Face\":1,\"Diameter\":\"8\",\"Depth\":\"13.5\"}],\"Models\":[],\"SideHoles\":[{\"StartPoint\":\"400,550,-9\",\"EndPoint\":\"366,550,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,50,-9\",\"EndPoint\":\"366,50,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,518,-9\",\"EndPoint\":\"366,518,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,82,-9\",\"EndPoint\":\"366,82,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2}]},{\"BlockNo\":2404003442180,\"RoomName\":\"F01\",\"BoxNo\":\"\",\"BoxName\":\"G01 \",\"BlockID\":4290006,\"CustomNo\":\"\",\"BlockName\":\"正反面造型\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"drills\":[{\"name\":\"三合一\",\"type\":\"偏心轮\",\"face\":\"正面\",\"count\":2},{\"name\":\"三合一\",\"type\":\"连接杆\",\"face\":\"右侧面\",\"count\":2},{\"name\":\"木销\",\"type\":\"连接杆\",\"face\":\"右侧面\",\"count\":2}],\"extra\":{\"boardType\":\"背板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":false,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[],\"edgeRemarks\":[\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"\",\"Width\":\"400\",\"Length\":\"600\",\"Size\":\"0.24\",\"CuttingWidth\":\"398\",\"CuttingLength\":\"598\",\"CuttingSize\":\"0.238\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":false,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[],\"OrgPoints\":[],\"Holes\":[{\"X\":\"365\",\"Y\":\"549\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"},{\"X\":\"365\",\"Y\":\"49\",\"Face\":0,\"Diameter\":\"15\",\"Depth\":\"13.5\"}],\"Models\":[{\"Depth\":\"5\",\"Face\":0,\"Diameter\":\"6\",\"ToolNo\":\"\",\"Points\":[{\"Pos\":\"22,-1,-5\",\"Curve\":\"0\"},{\"Pos\":\"22,599,-5\",\"Curve\":\"0\"},{\"Pos\":\"26,599,-5\",\"Curve\":\"0\"},{\"Pos\":\"26,-1,-5\",\"Curve\":\"0\"},{\"Pos\":\"22,-1,-5\",\"Curve\":\"0\"}],\"OffsetList\":[],\"OriginModeling\":[{\"Pos\":\"20,0,0\",\"Curve\":\"0\"},{\"Pos\":\"30,0,0\",\"Curve\":\"0\"},{\"Pos\":\"30,600,0\",\"Curve\":\"0\"},{\"Pos\":\"20,600,0\",\"Curve\":\"0\"},{\"Pos\":\"20,0,0\",\"Curve\":\"0\"}]},{\"Depth\":\"6\",\"Face\":1,\"Diameter\":\"6\",\"ToolNo\":\"\",\"Points\":[{\"Pos\":\"122,-1,-6\",\"Curve\":\"0\"},{\"Pos\":\"122,584,-6\",\"Curve\":\"0\"},{\"Pos\":\"136,584,-6\",\"Curve\":\"0\"},{\"Pos\":\"136,-1,-6\",\"Curve\":\"0\"},{\"Pos\":\"122,-1,-6\",\"Curve\":\"0\"},{\"Pos\":\"128,5,-6\",\"Curve\":\"0\"},{\"Pos\":\"130,5,-6\",\"Curve\":\"0\"},{\"Pos\":\"130,578,-6\",\"Curve\":\"0\"},{\"Pos\":\"128,578,-6\",\"Curve\":\"0\"},{\"Pos\":\"128,5,-6\",\"Curve\":\"0\"}],\"OffsetList\":[],\"OriginModeling\":[{\"Pos\":\"120,0,0\",\"Curve\":\"0\"},{\"Pos\":\"140,0,0\",\"Curve\":\"0\"},{\"Pos\":\"140,588,0\",\"Curve\":\"0\"},{\"Pos\":\"120,588,0\",\"Curve\":\"0\"},{\"Pos\":\"120,0,0\",\"Curve\":\"0\"}]}],\"SideHoles\":[{\"StartPoint\":\"400,550,-9\",\"EndPoint\":\"366,550,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,50,-9\",\"EndPoint\":\"366,50,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,518,-9\",\"EndPoint\":\"366,518,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2},{\"StartPoint\":\"400,82,-9\",\"EndPoint\":\"366,82,-9\",\"Diameter\":\"8\",\"Depth\":\"34\",\"Direction\":2}]}]},{\"Name\":\"9mm-苏湘桐-多层板\",\"GoodsID\":840,\"GoodsSN\":\"\",\"Specification\":\"2440*1220*9\",\"Material\":\"多层板\",\"Color\":\"苏湘桐\",\"Thickness\":9,\"Width\":1220,\"Length\":2440,\"WaveFlag\":true,\"Blocks\":[{\"BlockNo\":2404003442202,\"RoomName\":\"未命名\",\"BoxNo\":\"\",\"BoxName\":\"标准柜2\",\"BlockID\":4290017,\"CustomNo\":\"\",\"BlockName\":\"背板\",\"OpenDoorType\":0,\"Remark1\":\"\",\"Remark2\":\"\",\"Remark3\":\"\",\"Remark4\":\"\",\"Remark5\":\"\",\"ExtraRemark\":{\"extra\":{\"boardType\":\"背板\",\"throughHoleCount\":0,\"throughModelCount\":0,\"has2DModel\":false,\"has3DModel\":false,\"composingFace\":\"任意面\",\"processList\":[{\"name\":\"抽屉\",\"size\":{\"width\":600,\"height\":300,\"depth\":418}}],\"edgeRemarks\":[\"\",\"\",\"\",\"\"]}},\"ProcessGroupName\":\"抽屉1\",\"Width\":\"534\",\"Length\":\"227\",\"Size\":\"0.121\",\"CuttingWidth\":\"532\",\"CuttingLength\":\"225\",\"CuttingSize\":\"0.12\",\"BorderLeft\":1,\"BorderRight\":1,\"BorderUpper\":1,\"BorderUnder\":1,\"Wave\":0,\"PlaceFace\":2,\"IsUnRegular\":false,\"OffsetX\":\"1\",\"OffsetY\":\"1\",\"Points\":[],\"OrgPoints\":[],\"Holes\":[],\"Models\":[],\"SideHoles\":[]}]}]}]}"; -// -// // 解析 JSON 字符串 -// JSONObject object = JSON.parseObject(jsonData); -// -// // 获取 Orders 字段对应的数组 -// JSONArray ordersArray = object.getJSONArray("Orders"); -// -// // 如果 Orders 数组不为空,则获取第一个订单对象 -// if (ordersArray != null && !ordersArray.isEmpty()) { -// // 获取生产单信息 -// for (int i = 0; i < ordersArray.size(); i++) { -// JSONObject order = ordersArray.getJSONObject(i); -// -// // 使用 DateTimeFormatter 解析日期字符串 -// DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); -// LocalDate deliveryDate = LocalDate.parse(order.getString("DeliveryDate"), formatter); -// -// OrderDO orderDO = OrderDO.builder() -// .parentNo(0L) -// .type(true) -// .sort(0) -// .dataType(1) -// .status(0) -// .customOrderNo(order.getString("OrderNo")) -// .customer(order.getString("Consigee")) -// .address(order.getString("ConsigeeAddress")) -// .phoneNumber(order.getString("ConsigeePhone")) -// .dealer(order.getString("CustomName")) -// .salesman(order.getString("SalePerson")) -// .remark(order.getString("Remark")) -// .deliveryDate(deliveryDate.atStartOfDay()) -// .build(); -// -// List plateDetails = new ArrayList<>(); -// // 获取材料信息 -// if (order.getJSONArray("Materials") != null && !order.getJSONArray("Materials").isEmpty()) { -// for (int j = 0; j < order.getJSONArray("Materials").size(); j++) { -// JSONObject material = order.getJSONArray("Materials").getJSONObject(j); -// -// // 板件信息 -// if (material.getJSONArray("Blocks") != null && !material.getJSONArray("Blocks").isEmpty()) { -// for (int k = 0; k < material.getJSONArray("Blocks").size(); k++) { -// JSONObject block = material.getJSONArray("Blocks").getJSONObject(k);// 每块板 -// -// PlateDetail plateDetail = PlateDetail.builder() -// .bodyNo(block.getString("BoxNo")) -// .plateNo(block.getString("BlockNo")) -// .name(block.getString("BlockName")) -// .customPlateNo(block.getString("CustomNo")) -// .roomsName(block.getString("RoomName")) -// .bodyName(block.getString("BoxName")) -// .group(block.getString("ProcessGroupName")) -// .multiNum(1) -// .groupList(getProcessGroup(block)) -// .width(Double.valueOf(block.getString("Width"))) -// .length(Double.valueOf(block.getString("Length"))) -// .acreage(Double.valueOf(block.getString("Size"))) -// .splitWidth(Double.valueOf(block.getString("CuttingWidth"))) -// .splitLength(Double.valueOf(block.getString("CuttingLength"))) -// .sealAcreage(Double.valueOf(block.getString("CuttingSize"))) -// .isUnRegular(Boolean.valueOf(block.getString("IsUnRegular"))) -// .sealLeft(Double.valueOf(block.getString("BorderLeft"))) -// .sealRight(Double.valueOf(block.getString("BorderRight"))) -// .sealUp(Double.valueOf(block.getString("BorderUpper"))) -// .sealDown(Double.valueOf(block.getString("BorderUnder"))) -// .texture(Integer.valueOf(block.getString("Wave"))) -// .typographicFace(Integer.valueOf(block.getString("PlaceFace"))) -// .openDoorType(Integer.valueOf(block.getString("OpenDoorType"))) -// .offsetX(Double.valueOf(block.getString("OffsetX"))) -// .offsetY(Double.valueOf(block.getString("OffsetY"))) -// .pointDetail(getPointDetail(block, 1)) -// .rawPointDetail(getPointDetail(block, 3)) -// .holeDetail(getHoleDetail(block, 1)) -// .sideHoleDetail(getHoleDetail(block, 3)) -// .contourDetail(getModelDetail(block)) -//// 排钻类型 -// .drillsInfos(getDrillsInfo(block)) -// .boardType(block.getJSONObject("ExtraRemark").getJSONObject("extra").getString("boardType")) -// .throughHoleCount(Double.valueOf(block.getJSONObject("ExtraRemark").getJSONObject("extra").getString("throughHoleCount"))) -// .throughModelCount(Double.valueOf(block.getJSONObject("ExtraRemark").getJSONObject("extra").getString("throughModelCount"))) -// .has2DModel(Boolean.valueOf(block.getJSONObject("ExtraRemark").getJSONObject("extra").getString("has2DModel"))) -// .has3DModel(Boolean.valueOf(block.getJSONObject("ExtraRemark").getJSONObject("extra").getString("has3DModel"))) -// .remark(remarkToMap(block)) -// .sideRemark(edgeRemarkToMap(block.getJSONObject("ExtraRemark").getJSONObject("extra"))) -// .build(); -// -// plateDetails.add(plateDetail); -// System.out.println("plateDetail " + plateDetail); -// } -// } -// } -// -// } -// System.out.println("板块 " + plateDetails.size()); -// } -// -// } else { -// System.out.println("JSON 数据中没有订单信息(Orders 数组为空)。"); -// } -// -// } // 加工组信息筛选 private List getProcessGroup(JSONObject block) {