|
@@ -63,7 +63,6 @@ public class SceneFileController{
|
|
public ResultData sendCallAlgorithm(@RequestBody Map<String,String> params) throws Exception {
|
|
public ResultData sendCallAlgorithm(@RequestBody Map<String,String> params) throws Exception {
|
|
log.info("sendCallAlgorithm 参数为:{}",JSONObject.toJSONString(params));
|
|
log.info("sendCallAlgorithm 参数为:{}",JSONObject.toJSONString(params));
|
|
String filePath = params.get("filePath");
|
|
String filePath = params.get("filePath");
|
|
- String filePathParam = filePath;
|
|
|
|
if(ObjectUtils.isEmpty(filePath)){
|
|
if(ObjectUtils.isEmpty(filePath)){
|
|
throw new BusinessException(ErrorCode.PARAM_ERROR,"filePath为空。");
|
|
throw new BusinessException(ErrorCode.PARAM_ERROR,"filePath为空。");
|
|
}
|
|
}
|
|
@@ -99,7 +98,7 @@ public class SceneFileController{
|
|
ZipUtil.unzip(filePath.concat(zipFileName),filePath);
|
|
ZipUtil.unzip(filePath.concat(zipFileName),filePath);
|
|
|
|
|
|
// 上传oaas
|
|
// 上传oaas
|
|
- fYunFileService.uploadFileByCommand(filePathParam.concat(folderName), ConstantFilePath.OSS_PREFIX.concat(subFolder));
|
|
|
|
|
|
+ fYunFileService.uploadFileByCommand(filePath.concat(folderName), ConstantFilePath.OSS_PREFIX.concat(subFolder));
|
|
|
|
|
|
// 通知计算
|
|
// 通知计算
|
|
return sceneFileBuildService.copyDataAndBuild(null,dataSource ,"V4");
|
|
return sceneFileBuildService.copyDataAndBuild(null,dataSource ,"V4");
|