|
@@ -160,7 +160,7 @@ public class RunBuild {
|
|
|
RenovationPartsDetailEntity partsDetailServiceById = renovationPartsDetailService.findById(id);
|
|
|
checkFlag = checkMviewFile(path, fileId, type);
|
|
|
if (checkFlag) {
|
|
|
- partsDetailServiceById.setMviewPath(prefix + "domain/eHome/furniture/temp/" + fileId + ".mview");
|
|
|
+ partsDetailServiceById.setMviewPath(prefix + "domain/eHome/furniture/temp/" + fileId + ".fdage");
|
|
|
partsDetailServiceById.setMviewStatus(2);
|
|
|
renovationPartsDetailService.updateById(partsDetailServiceById);
|
|
|
} else {
|
|
@@ -173,7 +173,7 @@ public class RunBuild {
|
|
|
CustomComponentEntity componentServiceById = customComponentService.findById(id);
|
|
|
checkFlag = checkMviewFile(path, fileId, type);
|
|
|
if (checkFlag) {
|
|
|
- componentServiceById.setMviewPath(prefix + "domain/eHome/furniture/models/" + fileId + ".mview");
|
|
|
+ componentServiceById.setMviewPath(prefix + "domain/eHome/furniture/models/" + fileId + ".fdage");
|
|
|
componentServiceById.setMviewStatus(2);
|
|
|
customComponentService.updateById(componentServiceById);
|
|
|
//抛出异常MQ重试
|
|
@@ -201,10 +201,10 @@ public class RunBuild {
|
|
|
File file = FileUtil.file(path);
|
|
|
if (FileUtil.exist(file)) {
|
|
|
if (type.equals("1")) {
|
|
|
- uploadToOssUtil.uploadTo4dTjw(path, "domain/eHome/furniture/temp/" + fileId + ".mview");
|
|
|
+ uploadToOssUtil.uploadTo4dTjw(path, "domain/eHome/furniture/temp/" + fileId + ".fdage");
|
|
|
return true;
|
|
|
} else {
|
|
|
- uploadToOssUtil.uploadTo4dTjw(path, "domain/eHome/furniture/models/" + fileId + ".mview");
|
|
|
+ uploadToOssUtil.uploadTo4dTjw(path, "domain/eHome/furniture/models/" + fileId + ".fdage");
|
|
|
return true;
|
|
|
}
|
|
|
} else {
|
|
@@ -214,10 +214,10 @@ public class RunBuild {
|
|
|
if (FileUtil.exist(path)) {
|
|
|
RunBuild.log.info("BuildMview文件存在{}", fileId);
|
|
|
if (type.equals("1")) {
|
|
|
- uploadToOssUtil.uploadTo4dTjw(path, "domain/eHome/furniture/temp/" + fileId + ".mview");
|
|
|
+ uploadToOssUtil.uploadTo4dTjw(path, "domain/eHome/furniture/temp/" + fileId + ".fdage");
|
|
|
return true;
|
|
|
} else {
|
|
|
- uploadToOssUtil.uploadTo4dTjw(path, "domain/eHome/furniture/models/" + fileId + ".mview");
|
|
|
+ uploadToOssUtil.uploadTo4dTjw(path, "domain/eHome/furniture/models/" + fileId + ".fdage");
|
|
|
return true;
|
|
|
}
|
|
|
} else {
|