|
@@ -65,7 +65,7 @@ public class testController extends BaseController {
|
|
for (RenovationPartsDetailEntity renovationPartsDetailEntity : list) {
|
|
for (RenovationPartsDetailEntity renovationPartsDetailEntity : list) {
|
|
if (ObjectUtil.isNotNull(renovationPartsDetailEntity.getMviewPath()) && StrUtil.isNotBlank(renovationPartsDetailEntity.getMviewPath())) {
|
|
if (ObjectUtil.isNotNull(renovationPartsDetailEntity.getMviewPath()) && StrUtil.isNotBlank(renovationPartsDetailEntity.getMviewPath())) {
|
|
if (!uploadToOssUtil.existFileToOSS(renovationPartsDetailEntity.getMviewPath(), "4d-tjw")) {
|
|
if (!uploadToOssUtil.existFileToOSS(renovationPartsDetailEntity.getMviewPath(), "4d-tjw")) {
|
|
- renovationPartsDetailEntity.setMviewPath(null);
|
|
|
|
|
|
+ renovationPartsDetailEntity.setMviewPath("");
|
|
renovationPartsDetailService.updateById(renovationPartsDetailEntity);
|
|
renovationPartsDetailService.updateById(renovationPartsDetailEntity);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -74,7 +74,7 @@ public class testController extends BaseController {
|
|
for (CustomComponentEntity customComponentEntity : list1) {
|
|
for (CustomComponentEntity customComponentEntity : list1) {
|
|
if (ObjectUtil.isNotNull(customComponentEntity.getMviewPath()) && StrUtil.isNotBlank(customComponentEntity.getMviewPath())) {
|
|
if (ObjectUtil.isNotNull(customComponentEntity.getMviewPath()) && StrUtil.isNotBlank(customComponentEntity.getMviewPath())) {
|
|
if (!uploadToOssUtil.existFileToOSS(customComponentEntity.getMviewPath(), "4d-tjw")) {
|
|
if (!uploadToOssUtil.existFileToOSS(customComponentEntity.getMviewPath(), "4d-tjw")) {
|
|
- customComponentEntity.setMviewPath(null);
|
|
|
|
|
|
+ customComponentEntity.setMviewPath("");
|
|
customComponentService.updateById(customComponentEntity);
|
|
customComponentService.updateById(customComponentEntity);
|
|
}
|
|
}
|
|
}
|
|
}
|