|
@@ -130,6 +130,12 @@ public class AddMoldelBuild {
|
|
|
renovationPartsDetailEntity.setImg(param.getImg());
|
|
|
renovationPartsDetailEntity.setHighImg(param.getImg());
|
|
|
|
|
|
+ AddMoldelBuild.log.info("renovationPartsDetailEntity:");
|
|
|
+ Boolean saveFlag = renovationPartsDetailService.save(renovationPartsDetailEntity);
|
|
|
+ if (!saveFlag) {
|
|
|
+ throw new RuntimeException(param.getFileId() + ":添加到模型库失败");
|
|
|
+
|
|
|
+ }
|
|
|
AddMoldelBuild.log.info("保存吸附方式:");
|
|
|
RenovationPartsAttachingEntity renovationPartsAttachingEntity = new RenovationPartsAttachingEntity();
|
|
|
if ("wall".equals(param.getAttachingType())) {
|
|
@@ -165,12 +171,7 @@ public class AddMoldelBuild {
|
|
|
renovationPartsDetailEntity.setExamineTime(new Date());
|
|
|
renovationPartsDetailEntity.setName(param.getFileId());
|
|
|
|
|
|
- AddMoldelBuild.log.info("renovationPartsDetailEntity:");
|
|
|
- Boolean saveFlag = renovationPartsDetailService.save(renovationPartsDetailEntity);
|
|
|
- if (!saveFlag) {
|
|
|
- throw new RuntimeException(param.getFileId() + ":添加到模型库失败");
|
|
|
|
|
|
- }
|
|
|
String messageStr = renovationPartsDetailEntity.getId() + ":;1:;" + objPath + ":;" + param.getFileId();
|
|
|
AddMoldelBuild.log.info("配件obj转换成mview格式");
|
|
|
Map<String, String> paramsMap = new HashMap<>();
|