mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
webcad拆单补充孔、造型id
This commit is contained in:
+3
@@ -950,6 +950,7 @@ public class WebCadOrderImportAsyncFactory {
|
|||||||
if (CollUtil.isNotEmpty(cadPointDetailList)) {
|
if (CollUtil.isNotEmpty(cadPointDetailList)) {
|
||||||
for (WebCadDataBlockReqVO.PointInfoDTO.PointDetailDTO cadPointDetail : cadPointDetailList) {
|
for (WebCadDataBlockReqVO.PointInfoDTO.PointDetailDTO cadPointDetail : cadPointDetailList) {
|
||||||
PointDetail pointDetail = new PointDetail();
|
PointDetail pointDetail = new PointDetail();
|
||||||
|
pointDetail.setId(String.valueOf(cadPointDetail.getPointID()));
|
||||||
pointDetail.setPointX(cadPointDetail.getPointX());
|
pointDetail.setPointX(cadPointDetail.getPointX());
|
||||||
pointDetail.setPointY(cadPointDetail.getPointY());
|
pointDetail.setPointY(cadPointDetail.getPointY());
|
||||||
pointDetail.setCurve(cadPointDetail.getCurve());
|
pointDetail.setCurve(cadPointDetail.getCurve());
|
||||||
@@ -970,6 +971,7 @@ public class WebCadOrderImportAsyncFactory {
|
|||||||
if (CollUtil.isNotEmpty(orgPointDetail)) {
|
if (CollUtil.isNotEmpty(orgPointDetail)) {
|
||||||
for (WebCadDataBlockReqVO.PointInfoDTO.OrgPointDetailDTO cadPointDetail : orgPointDetail) {
|
for (WebCadDataBlockReqVO.PointInfoDTO.OrgPointDetailDTO cadPointDetail : orgPointDetail) {
|
||||||
PointDetail pointDetail = new PointDetail();
|
PointDetail pointDetail = new PointDetail();
|
||||||
|
pointDetail.setId(String.valueOf(cadPointDetail.getPointID()));
|
||||||
pointDetail.setPointX(cadPointDetail.getPointX());
|
pointDetail.setPointX(cadPointDetail.getPointX());
|
||||||
pointDetail.setPointY(cadPointDetail.getPointY());
|
pointDetail.setPointY(cadPointDetail.getPointY());
|
||||||
pointDetail.setCurve(cadPointDetail.getCurve());
|
pointDetail.setCurve(cadPointDetail.getCurve());
|
||||||
@@ -1016,6 +1018,7 @@ public class WebCadOrderImportAsyncFactory {
|
|||||||
if (CollUtil.isNotEmpty(cadSideHoleDetailList)) {
|
if (CollUtil.isNotEmpty(cadSideHoleDetailList)) {
|
||||||
for (WebCadDataBlockReqVO.PointInfoDTO.SideHoleDetailDTO cadHoleDetail : cadSideHoleDetailList) {
|
for (WebCadDataBlockReqVO.PointInfoDTO.SideHoleDetailDTO cadHoleDetail : cadSideHoleDetailList) {
|
||||||
HoleDetail holeDetail = new HoleDetail();
|
HoleDetail holeDetail = new HoleDetail();
|
||||||
|
holeDetail.setId(String.valueOf(cadHoleDetail.getHoleID()));
|
||||||
holeDetail.setFaceType(cadHoleDetail.getFace());
|
holeDetail.setFaceType(cadHoleDetail.getFace());
|
||||||
holeDetail.setStartX(cadHoleDetail.getPointX());
|
holeDetail.setStartX(cadHoleDetail.getPointX());
|
||||||
holeDetail.setStartY(cadHoleDetail.getPointY());
|
holeDetail.setStartY(cadHoleDetail.getPointY());
|
||||||
|
|||||||
+3
@@ -760,6 +760,7 @@ public class WebCadOrderImportFactory {
|
|||||||
if (CollUtil.isNotEmpty(cadPointDetailList)) {
|
if (CollUtil.isNotEmpty(cadPointDetailList)) {
|
||||||
for (WebCadDataBlockReqVO.PointInfoDTO.PointDetailDTO cadPointDetail : cadPointDetailList) {
|
for (WebCadDataBlockReqVO.PointInfoDTO.PointDetailDTO cadPointDetail : cadPointDetailList) {
|
||||||
PointDetail pointDetail = new PointDetail();
|
PointDetail pointDetail = new PointDetail();
|
||||||
|
pointDetail.setId(String.valueOf(cadPointDetail.getPointID()));
|
||||||
pointDetail.setPointX(cadPointDetail.getPointX());
|
pointDetail.setPointX(cadPointDetail.getPointX());
|
||||||
pointDetail.setPointY(cadPointDetail.getPointY());
|
pointDetail.setPointY(cadPointDetail.getPointY());
|
||||||
pointDetail.setCurve(cadPointDetail.getCurve());
|
pointDetail.setCurve(cadPointDetail.getCurve());
|
||||||
@@ -780,6 +781,7 @@ public class WebCadOrderImportFactory {
|
|||||||
if (CollUtil.isNotEmpty(orgPointDetail)) {
|
if (CollUtil.isNotEmpty(orgPointDetail)) {
|
||||||
for (WebCadDataBlockReqVO.PointInfoDTO.OrgPointDetailDTO cadPointDetail : orgPointDetail) {
|
for (WebCadDataBlockReqVO.PointInfoDTO.OrgPointDetailDTO cadPointDetail : orgPointDetail) {
|
||||||
PointDetail pointDetail = new PointDetail();
|
PointDetail pointDetail = new PointDetail();
|
||||||
|
pointDetail.setId(String.valueOf(cadPointDetail.getPointID()));
|
||||||
pointDetail.setPointX(cadPointDetail.getPointX());
|
pointDetail.setPointX(cadPointDetail.getPointX());
|
||||||
pointDetail.setPointY(cadPointDetail.getPointY());
|
pointDetail.setPointY(cadPointDetail.getPointY());
|
||||||
pointDetail.setCurve(cadPointDetail.getCurve());
|
pointDetail.setCurve(cadPointDetail.getCurve());
|
||||||
@@ -826,6 +828,7 @@ public class WebCadOrderImportFactory {
|
|||||||
if (CollUtil.isNotEmpty(cadSideHoleDetailList)) {
|
if (CollUtil.isNotEmpty(cadSideHoleDetailList)) {
|
||||||
for (WebCadDataBlockReqVO.PointInfoDTO.SideHoleDetailDTO cadHoleDetail : cadSideHoleDetailList) {
|
for (WebCadDataBlockReqVO.PointInfoDTO.SideHoleDetailDTO cadHoleDetail : cadSideHoleDetailList) {
|
||||||
HoleDetail holeDetail = new HoleDetail();
|
HoleDetail holeDetail = new HoleDetail();
|
||||||
|
holeDetail.setId(String.valueOf(cadHoleDetail.getHoleID()));
|
||||||
holeDetail.setFaceType(cadHoleDetail.getFace());
|
holeDetail.setFaceType(cadHoleDetail.getFace());
|
||||||
holeDetail.setStartX(cadHoleDetail.getPointX());
|
holeDetail.setStartX(cadHoleDetail.getPointX());
|
||||||
holeDetail.setStartY(cadHoleDetail.getPointY());
|
holeDetail.setStartY(cadHoleDetail.getPointY());
|
||||||
|
|||||||
Reference in New Issue
Block a user