|
@@ -18,8 +18,8 @@ import com.fdkankan.contro.mapper.ISceneFileBuildMapper;
|
|
import com.fdkankan.contro.service.*;
|
|
import com.fdkankan.contro.service.*;
|
|
import com.fdkankan.contro.vo.ResponseSceneFile;
|
|
import com.fdkankan.contro.vo.ResponseSceneFile;
|
|
import com.fdkankan.contro.vo.ScenePlusVO;
|
|
import com.fdkankan.contro.vo.ScenePlusVO;
|
|
-import com.fdkankan.fyun.constant.StorageType;
|
|
|
|
-import com.fdkankan.fyun.oss.UploadToOssUtil;
|
|
|
|
|
|
+import com.fdkankan.fyun.constant.FYunTypeEnum;
|
|
|
|
+import com.fdkankan.fyun.face.FYunFileServiceInterface;
|
|
import com.fdkankan.rabbitmq.bean.BuildSceneCallMessage;
|
|
import com.fdkankan.rabbitmq.bean.BuildSceneCallMessage;
|
|
import com.fdkankan.rabbitmq.util.RabbitMqProducer;
|
|
import com.fdkankan.rabbitmq.util.RabbitMqProducer;
|
|
import com.fdkankan.redis.util.RedisUtil;
|
|
import com.fdkankan.redis.util.RedisUtil;
|
|
@@ -54,15 +54,9 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
@Value("${scene.pro.new.url}")
|
|
@Value("${scene.pro.new.url}")
|
|
private String sceneProNewUrl;
|
|
private String sceneProNewUrl;
|
|
|
|
|
|
- @Value("${upload.type}")
|
|
|
|
- private String type;
|
|
|
|
-
|
|
|
|
@Value("${oss.prefix.ali}")
|
|
@Value("${oss.prefix.ali}")
|
|
private String prefixAli;
|
|
private String prefixAli;
|
|
|
|
|
|
- @Value("${ecs.type}")
|
|
|
|
- private String ecsType;
|
|
|
|
-
|
|
|
|
@Value("${queue.modeling.modeling-call}")
|
|
@Value("${queue.modeling.modeling-call}")
|
|
private String queueModelingCall;
|
|
private String queueModelingCall;
|
|
@Value("${queue.modeling.modeling-pre}")
|
|
@Value("${queue.modeling.modeling-pre}")
|
|
@@ -75,9 +69,6 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
private FileRouteConfig routeConfig;
|
|
private FileRouteConfig routeConfig;
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
- private UploadToOssUtil uploadToOssUtil;
|
|
|
|
-
|
|
|
|
- @Autowired
|
|
|
|
private IScenePlusExtService scenePlusExtService;
|
|
private IScenePlusExtService scenePlusExtService;
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
@@ -115,6 +106,9 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
@Autowired
|
|
@Autowired
|
|
private ICompanyService companyService;
|
|
private ICompanyService companyService;
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private FYunFileServiceInterface fYunFileService;
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public SceneFileBuild findByFileId(String fileId) {
|
|
public SceneFileBuild findByFileId(String fileId) {
|
|
|
|
|
|
@@ -315,11 +309,11 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
if(jsonObject.containsKey("icon") && StrUtil.isNotEmpty(jsonObject.getString("icon"))){
|
|
if(jsonObject.containsKey("icon") && StrUtil.isNotEmpty(jsonObject.getString("icon"))){
|
|
CreateObjUtil.ossUtilCp(ConstantFilePath.OSS_PREFIX + prefix + jsonObject.getString("icon"), filePath);
|
|
CreateObjUtil.ossUtilCp(ConstantFilePath.OSS_PREFIX + prefix + jsonObject.getString("icon"), filePath);
|
|
icon = prefixAli + "images/images" + sceneNum + "/" + jsonObject.getString("icon");
|
|
icon = prefixAli + "images/images" + sceneNum + "/" + jsonObject.getString("icon");
|
|
- if(StorageType.AWS.code().equals(type)){
|
|
|
|
|
|
+ if(FYunTypeEnum.AWS.code().equals(fYunFileService.getFyunType())){
|
|
CreateObjUtil.ossFileCp(ConstantFilePath.OSS_PREFIX + prefix + jsonObject.getString("icon"), filePath + jsonObject.getString("icon"));
|
|
CreateObjUtil.ossFileCp(ConstantFilePath.OSS_PREFIX + prefix + jsonObject.getString("icon"), filePath + jsonObject.getString("icon"));
|
|
icon = ConstantUrl.PREFIX_AWS + imgViewPath + jsonObject.getString("icon");
|
|
icon = ConstantUrl.PREFIX_AWS + imgViewPath + jsonObject.getString("icon");
|
|
}
|
|
}
|
|
- uploadToOssUtil.upload(filePath + jsonObject.getString("icon"), imgViewPath + jsonObject.getString("icon"));
|
|
|
|
|
|
+ fYunFileService.uploadFile(filePath + jsonObject.getString("icon"), imgViewPath + jsonObject.getString("icon"));
|
|
}
|
|
}
|
|
|
|
|
|
JSONObject firmwareVersion = new JSONObject();
|
|
JSONObject firmwareVersion = new JSONObject();
|
|
@@ -346,8 +340,8 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
scenePlusService.resetSpace(sceneNum);
|
|
scenePlusService.resetSpace(sceneNum);
|
|
}else {
|
|
}else {
|
|
//上传log-main.png
|
|
//上传log-main.png
|
|
- uploadToOssUtil.upload(ConstantFilePath.LOGO_PATH + "logo-main.png", imgViewPath + "logo-main.png");
|
|
|
|
- uploadToOssUtil.upload(ConstantFilePath.LOGO_PATH + "logo-main-en.png", imgViewPath + "logo-main-en.png");
|
|
|
|
|
|
+ fYunFileService.uploadFile(ConstantFilePath.LOGO_PATH + "logo-main.png", imgViewPath + "logo-main.png");
|
|
|
|
+ fYunFileService.uploadFile(ConstantFilePath.LOGO_PATH + "logo-main-en.png", imgViewPath + "logo-main-en.png");
|
|
}
|
|
}
|
|
ScenePlusVO scenePlusVO = null;
|
|
ScenePlusVO scenePlusVO = null;
|
|
Object[] objects = null;
|
|
Object[] objects = null;
|
|
@@ -359,7 +353,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
jsonObject.getString("location") != null && "1".equals(jsonObject.getString("location")) ? "sfm" : "slam",
|
|
jsonObject.getString("location") != null && "1".equals(jsonObject.getString("location")) ? "sfm" : "slam",
|
|
jsonObject.getJSONArray("points").size(), jsonObject.getString("name"), jsonObject.getString("info"),
|
|
jsonObject.getJSONArray("points").size(), jsonObject.getString("name"), jsonObject.getString("info"),
|
|
jsonObject.getInteger("scenetype"), jsonObject.getString("gps"), rebuild,
|
|
jsonObject.getInteger("scenetype"), jsonObject.getString("gps"), rebuild,
|
|
- jsonObject.getInteger("resolution"), firmwareVersion.toString(), sceneUrl, buildType, ecsType,cameraDetail.getCooperationUser());
|
|
|
|
|
|
+ jsonObject.getInteger("resolution"), firmwareVersion.toString(), sceneUrl, buildType,cameraDetail.getCooperationUser());
|
|
|
|
|
|
}else {
|
|
}else {
|
|
objects = this.createScenePlus(sceneNum, camera.getId(), camera.getChildName(), jsonObject.getString("creator"),
|
|
objects = this.createScenePlus(sceneNum, camera.getId(), camera.getChildName(), jsonObject.getString("creator"),
|
|
@@ -368,7 +362,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
jsonObject.getString("location") != null && "1".equals(jsonObject.getString("location")) ? "sfm" : "slam",
|
|
jsonObject.getString("location") != null && "1".equals(jsonObject.getString("location")) ? "sfm" : "slam",
|
|
jsonObject.getJSONArray("points").size(), jsonObject.getString("name"), jsonObject.getString("info"),
|
|
jsonObject.getJSONArray("points").size(), jsonObject.getString("name"), jsonObject.getString("info"),
|
|
jsonObject.getInteger("scenetype"), jsonObject.getString("gps"), rebuild,
|
|
jsonObject.getInteger("scenetype"), jsonObject.getString("gps"), rebuild,
|
|
- jsonObject.getInteger("resolution"), firmwareVersion.toString(), sceneUrl, buildType, ecsType, cameraDetail.getCooperationUser());
|
|
|
|
|
|
+ jsonObject.getInteger("resolution"), firmwareVersion.toString(), sceneUrl, buildType, cameraDetail.getCooperationUser());
|
|
}
|
|
}
|
|
scenePlusVO = (ScenePlusVO)objects[0];
|
|
scenePlusVO = (ScenePlusVO)objects[0];
|
|
mqMessage = (BuildSceneCallMessage)objects[1];
|
|
mqMessage = (BuildSceneCallMessage)objects[1];
|
|
@@ -384,11 +378,11 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
statusJson.put("payStatus", scenePlusVO.getPayStatus());
|
|
statusJson.put("payStatus", scenePlusVO.getPayStatus());
|
|
statusJson.put("recStatus", scenePlusVO.getRecStatus());
|
|
statusJson.put("recStatus", scenePlusVO.getRecStatus());
|
|
FileUtils.writeFile(localDataPath + "status.json", statusJson.toString());
|
|
FileUtils.writeFile(localDataPath + "status.json", statusJson.toString());
|
|
- uploadToOssUtil.upload(localDataPath + "status.json", dataViewPath + "status.json");
|
|
|
|
|
|
+ fYunFileService.uploadFile(localDataPath + "status.json", dataViewPath + "status.json");
|
|
}
|
|
}
|
|
|
|
|
|
//删除oss的houst_floor.json(国际版可能会卡住)
|
|
//删除oss的houst_floor.json(国际版可能会卡住)
|
|
- uploadToOssUtil.delete(dataViewPath + "houst_floor.json");
|
|
|
|
|
|
+ fYunFileService.deleteFile(dataViewPath + "houst_floor.json");
|
|
|
|
|
|
if(cameraDetail.getCompanyId() != null){
|
|
if(cameraDetail.getCompanyId() != null){
|
|
Company company = companyService.getById(cameraDetail.getCompanyId());
|
|
Company company = companyService.getById(cameraDetail.getCompanyId());
|
|
@@ -409,7 +403,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
|
|
|
FileUtils.copyFile(ConstantFilePath.BASE_PATH + File.separator + company.getTopLogo(),
|
|
FileUtils.copyFile(ConstantFilePath.BASE_PATH + File.separator + company.getTopLogo(),
|
|
localImagesPath + "logo-main.png", true);
|
|
localImagesPath + "logo-main.png", true);
|
|
- uploadToOssUtil.upload(localImagesPath + "logo-main.png", imgViewPath + "logo-main.png");
|
|
|
|
|
|
+ fYunFileService.uploadFile(localImagesPath + "logo-main.png", imgViewPath + "logo-main.png");
|
|
}
|
|
}
|
|
|
|
|
|
if(StrUtil.isNotEmpty(company.getFloorLogo())){
|
|
if(StrUtil.isNotEmpty(company.getFloorLogo())){
|
|
@@ -423,7 +417,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
|
|
|
FileUtils.copyFile(ConstantFilePath.BASE_PATH + File.separator + company.getFloorLogo(),
|
|
FileUtils.copyFile(ConstantFilePath.BASE_PATH + File.separator + company.getFloorLogo(),
|
|
localImagesPath + "floorLogoImg.png", true);
|
|
localImagesPath + "floorLogoImg.png", true);
|
|
- uploadToOssUtil.upload(localImagesPath + "floorLogoImg.png", imgViewPath + "floorLogoImg.png");
|
|
|
|
|
|
+ fYunFileService.uploadFile(localImagesPath + "floorLogoImg.png", imgViewPath + "floorLogoImg.png");
|
|
|
|
|
|
sceneEditInfo.setFloorLogo("user");
|
|
sceneEditInfo.setFloorLogo("user");
|
|
}
|
|
}
|
|
@@ -496,7 +490,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
if(!filePath.exists()){
|
|
if(!filePath.exists()){
|
|
filePath.mkdirs();
|
|
filePath.mkdirs();
|
|
}
|
|
}
|
|
- if(StorageType.AWS.code().equals(type)){
|
|
|
|
|
|
+ if(FYunTypeEnum.AWS.code().equals(fYunFileService.getFyunType())){
|
|
CreateObjUtil.ossFileCp(ConstantFilePath.OSS_PREFIX + prefixBuffer.toString() + "data.fdage", filePathBuffer.toString() + "data.fdage");
|
|
CreateObjUtil.ossFileCp(ConstantFilePath.OSS_PREFIX + prefixBuffer.toString() + "data.fdage", filePathBuffer.toString() + "data.fdage");
|
|
}else {
|
|
}else {
|
|
CreateObjUtil.ossUtilCp(ConstantFilePath.OSS_PREFIX + prefixBuffer.toString() + "data.fdage", filePathBuffer.toString());
|
|
CreateObjUtil.ossUtilCp(ConstantFilePath.OSS_PREFIX + prefixBuffer.toString() + "data.fdage", filePathBuffer.toString());
|
|
@@ -564,7 +558,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
if(!filePath.exists()){
|
|
if(!filePath.exists()){
|
|
filePath.mkdirs();
|
|
filePath.mkdirs();
|
|
}
|
|
}
|
|
- if(StorageType.AWS.code().equals(type)){
|
|
|
|
|
|
+ if(FYunTypeEnum.AWS.code().equals(fYunFileService.getFyunType())){
|
|
CreateObjUtil.ossFileCp(ConstantFilePath.OSS_PREFIX + prefixBuffer.toString() + "data.fdage", filePathBuffer.toString() + "data.fdage");
|
|
CreateObjUtil.ossFileCp(ConstantFilePath.OSS_PREFIX + prefixBuffer.toString() + "data.fdage", filePathBuffer.toString() + "data.fdage");
|
|
}else {
|
|
}else {
|
|
CreateObjUtil.ossUtilCp(ConstantFilePath.OSS_PREFIX + prefixBuffer.toString() + "data.fdage", filePathBuffer.toString());
|
|
CreateObjUtil.ossUtilCp(ConstantFilePath.OSS_PREFIX + prefixBuffer.toString() + "data.fdage", filePathBuffer.toString());
|
|
@@ -641,11 +635,11 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
if(jsonObject.containsKey("icon") && StrUtil.isNotEmpty(jsonObject.getString("icon"))){
|
|
if(jsonObject.containsKey("icon") && StrUtil.isNotEmpty(jsonObject.getString("icon"))){
|
|
CreateObjUtil.ossUtilCp(ConstantFilePath.OSS_PREFIX + prefix + jsonObject.getString("icon"), filePath);
|
|
CreateObjUtil.ossUtilCp(ConstantFilePath.OSS_PREFIX + prefix + jsonObject.getString("icon"), filePath);
|
|
icon = prefixAli + imageViewPath + jsonObject.getString("icon");
|
|
icon = prefixAli + imageViewPath + jsonObject.getString("icon");
|
|
- if(StorageType.AWS.code().equals(type)){
|
|
|
|
|
|
+ if(FYunTypeEnum.AWS.code().equals(fYunFileService.getFyunType())){
|
|
CreateObjUtil.ossFileCp(ConstantFilePath.OSS_PREFIX + prefix + jsonObject.getString("icon"), filePath + jsonObject.getString("icon"));
|
|
CreateObjUtil.ossFileCp(ConstantFilePath.OSS_PREFIX + prefix + jsonObject.getString("icon"), filePath + jsonObject.getString("icon"));
|
|
icon = ConstantUrl.PREFIX_AWS + imageViewPath + jsonObject.getString("icon");
|
|
icon = ConstantUrl.PREFIX_AWS + imageViewPath + jsonObject.getString("icon");
|
|
}
|
|
}
|
|
- uploadToOssUtil.upload(filePath + jsonObject.getString("icon"), imageViewPath + jsonObject.getString("icon"));
|
|
|
|
|
|
+ fYunFileService.uploadFile(filePath + jsonObject.getString("icon"), imageViewPath + jsonObject.getString("icon"));
|
|
|
|
|
|
log.info("上传icon成功....");
|
|
log.info("上传icon成功....");
|
|
}
|
|
}
|
|
@@ -675,8 +669,8 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
scenePlusService.resetSpace(sceneNum);
|
|
scenePlusService.resetSpace(sceneNum);
|
|
}else {
|
|
}else {
|
|
//上传log-main.png
|
|
//上传log-main.png
|
|
- uploadToOssUtil.upload(ConstantFilePath.LOGO_PATH + "logo-main.png", imageViewPath + "logo-main.png");
|
|
|
|
- uploadToOssUtil.upload(ConstantFilePath.LOGO_PATH + "logo-main-en.png", imageViewPath + "logo-main-en.png");
|
|
|
|
|
|
+ fYunFileService.uploadFile(ConstantFilePath.LOGO_PATH + "logo-main.png", imageViewPath + "logo-main.png");
|
|
|
|
+ fYunFileService.uploadFile(ConstantFilePath.LOGO_PATH + "logo-main-en.png", imageViewPath + "logo-main-en.png");
|
|
log.info("第一次计算场景,上传logo-main.png");
|
|
log.info("第一次计算场景,上传logo-main.png");
|
|
|
|
|
|
}
|
|
}
|
|
@@ -686,7 +680,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
jsonObject.getString("location") != null && "1".equals(jsonObject.getString("location")) ? "sfm" : "slam",
|
|
jsonObject.getString("location") != null && "1".equals(jsonObject.getString("location")) ? "sfm" : "slam",
|
|
jsonObject.getJSONArray("points").size(), jsonObject.getString("name"), jsonObject.getString("info"),
|
|
jsonObject.getJSONArray("points").size(), jsonObject.getString("name"), jsonObject.getString("info"),
|
|
jsonObject.getInteger("scenetype"), jsonObject.getString("gps"), rebuild,
|
|
jsonObject.getInteger("scenetype"), jsonObject.getString("gps"), rebuild,
|
|
- jsonObject.getInteger("resolution"), firmwareVersion.toString(), sceneUrl, buildType, ecsType, cameraDetail.getCooperationUser());
|
|
|
|
|
|
+ jsonObject.getInteger("resolution"), firmwareVersion.toString(), sceneUrl, buildType, cameraDetail.getCooperationUser());
|
|
BuildSceneCallMessage mqMessage = (BuildSceneCallMessage)objects[1];
|
|
BuildSceneCallMessage mqMessage = (BuildSceneCallMessage)objects[1];
|
|
ScenePlusVO scenePlusVO = (ScenePlusVO) objects[0];
|
|
ScenePlusVO scenePlusVO = (ScenePlusVO) objects[0];
|
|
|
|
|
|
@@ -701,7 +695,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
statusJson.put("recStatus", scenePlusVO.getRecStatus());
|
|
statusJson.put("recStatus", scenePlusVO.getRecStatus());
|
|
FileUtils.writeFile(localDataPath + "status.json", statusJson.toString());
|
|
FileUtils.writeFile(localDataPath + "status.json", statusJson.toString());
|
|
|
|
|
|
- uploadToOssUtil.upload(localDataPath + "status.json", dataViewPath + File.separator+"status.json");
|
|
|
|
|
|
+ fYunFileService.uploadFile(localDataPath + "status.json", dataViewPath + File.separator+"status.json");
|
|
|
|
|
|
log.info("上传status.json,上传内容:{}" + statusJson.toString());
|
|
log.info("上传status.json,上传内容:{}" + statusJson.toString());
|
|
}
|
|
}
|
|
@@ -721,7 +715,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
|
|
|
if(StrUtil.isNotEmpty(company.getTopLogo())){
|
|
if(StrUtil.isNotEmpty(company.getTopLogo())){
|
|
FileUtils.copyFile(ConstantFilePath.BASE_PATH + File.separator + company.getTopLogo(),localImagesPath + "logo-main.png", true);
|
|
FileUtils.copyFile(ConstantFilePath.BASE_PATH + File.separator + company.getTopLogo(),localImagesPath + "logo-main.png", true);
|
|
- uploadToOssUtil.upload(localImagesPath + "logo-main.png", imageViewPath + "logo-main.png");
|
|
|
|
|
|
+ fYunFileService.uploadFile(localImagesPath + "logo-main.png", imageViewPath + "logo-main.png");
|
|
}
|
|
}
|
|
|
|
|
|
if(StrUtil.isNotEmpty(company.getFloorLogo())){
|
|
if(StrUtil.isNotEmpty(company.getFloorLogo())){
|
|
@@ -729,7 +723,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
FileUtils.copyFile(ConstantFilePath.BASE_PATH + File.separator + company.getFloorLogo(),
|
|
FileUtils.copyFile(ConstantFilePath.BASE_PATH + File.separator + company.getFloorLogo(),
|
|
localImagesPath + "floorLogoImg.png", true);
|
|
localImagesPath + "floorLogoImg.png", true);
|
|
|
|
|
|
- uploadToOssUtil.upload(localImagesPath + "floorLogoImg.png",
|
|
|
|
|
|
+ fYunFileService.uploadFile(localImagesPath + "floorLogoImg.png",
|
|
imageViewPath + "floorLogoImg.png");
|
|
imageViewPath + "floorLogoImg.png");
|
|
|
|
|
|
sceneEditInfo.setFloorLogo("user");
|
|
sceneEditInfo.setFloorLogo("user");
|
|
@@ -780,7 +774,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
}
|
|
}
|
|
|
|
|
|
//删除oss的houst_floor.json
|
|
//删除oss的houst_floor.json
|
|
- uploadToOssUtil.delete(dataViewPath + "houst_floor.json");
|
|
|
|
|
|
+ fYunFileService.deleteFile(dataViewPath + "houst_floor.json");
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@@ -801,7 +795,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
String imgsName, String pic, String isModel, Long userId, String userName,
|
|
String imgsName, String pic, String isModel, Long userId, String userName,
|
|
String algorithm, Integer sceneShootCount, String sceneName,
|
|
String algorithm, Integer sceneShootCount, String sceneName,
|
|
String sceneDec, Integer sceneType, String gps,Integer type,
|
|
String sceneDec, Integer sceneType, String gps,Integer type,
|
|
- Integer resolution, String firmwareVersion, String url, String buildType, String ecsType,
|
|
|
|
|
|
+ Integer resolution, String firmwareVersion, String url, String buildType,
|
|
Long cooperationUser)throws Exception{
|
|
Long cooperationUser)throws Exception{
|
|
|
|
|
|
ScenePlusVO scenePlusVO = new ScenePlusVO();
|
|
ScenePlusVO scenePlusVO = new ScenePlusVO();
|
|
@@ -835,10 +829,6 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
scenePlusExt.setDataSource(prefix+imgsName);
|
|
scenePlusExt.setDataSource(prefix+imgsName);
|
|
}
|
|
}
|
|
|
|
|
|
- if(!org.springframework.util.StringUtils.isEmpty(ecsType)){
|
|
|
|
- scenePlusExt.setEcs(ecsType);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
if(resolution == null || resolution.intValue() == 0){
|
|
if(resolution == null || resolution.intValue() == 0){
|
|
scenePlusExt.setSceneScheme(cameraType.intValue());
|
|
scenePlusExt.setSceneScheme(cameraType.intValue());
|
|
}else {
|
|
}else {
|