|
@@ -112,6 +112,8 @@ public class SceneImportController {
|
|
|
//* -------------------------------- 上传到 minio --------------------------------
|
|
|
log.info("上传到minio " + objectPath);
|
|
|
String fileName = file.getName();
|
|
|
+ sceneEvaluationRulePO.setStatus(DictConstants.SCENE_IMPORT_STATUS_1);
|
|
|
+ sceneImportService.updateSceneEvaluationRule(sceneEvaluationRulePO);
|
|
|
boolean uploadSuccess = sceneImportService.startUploadEvaluationScript(objectPath, fileName, po.getLocalPath());
|
|
|
if (!uploadSuccess) {
|
|
|
sceneEvaluationRulePO.setStatus(DictConstants.SCENE_IMPORT_STATUS_5);
|