|
@@ -61,6 +61,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/base/save")
|
|
|
public ResultData saveScene(@RequestBody @Validated SceneEditInfoParamVO param){
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return ResultData.ok(sceneEditInfoService.saveScene(param));
|
|
|
}
|
|
|
//
|
|
@@ -91,6 +92,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/saveInitialPage")
|
|
|
public ResultData saveInitialPage(@RequestBody @Validated FileNameAndDataParamVO param) throws Exception {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneProService.saveInitialPage(param);
|
|
|
}
|
|
|
|
|
@@ -105,6 +107,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/tag/save")
|
|
|
public ResultData saveTag(@RequestBody @Validated SaveTagsParamVO param) throws Exception {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneProService.addOrUpdateTag(param);
|
|
|
}
|
|
|
|
|
@@ -119,6 +122,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/tag/delete")
|
|
|
public ResultData deleteTag(@RequestBody @Validated DeleteHotParamVO param) throws Exception {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneProService.deleteTag(param);
|
|
|
}
|
|
|
|
|
@@ -134,7 +138,8 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/tag/list")
|
|
|
public ResultData listTags(@RequestParam(value = "num") String num) throws Exception {
|
|
|
Integer subgroup = this.getSubgroup();
|
|
|
- return sceneProService.listTags(num, subgroup);
|
|
|
+ String upTime = this.getUpTime();
|
|
|
+ return sceneProService.listTags(num, subgroup, upTime);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -149,6 +154,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/icons/delete")
|
|
|
public ResultData deleteIcons(@RequestBody @Validated DeleteHotIconParamVO param) throws Exception {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneProService.deleteIcons(param);
|
|
|
}
|
|
|
|
|
@@ -164,6 +170,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/saveRoam")
|
|
|
public ResultData saveRoam(@RequestBody @Validated BaseDataParamVO param) throws Exception {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneProService.saveRoam(param);
|
|
|
}
|
|
|
|
|
@@ -178,106 +185,9 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/saveTagsVisible")
|
|
|
public ResultData saveTagsVisible(@RequestBody @Validated SaveTagsVisibleParamVO param) throws Exception {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneProService.saveTagsVisible(param);
|
|
|
}
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 下载模型
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/8/1
|
|
|
-// * @param num
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/downloadModel")
|
|
|
-// public ResultData downloadModel(@RequestParam("num") String num) throws Exception {
|
|
|
-// return sceneProService.downloadModel(num);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 上传模型
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/8/1
|
|
|
-// * @param num
|
|
|
-// * @param file
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/uploadModel")
|
|
|
-// public ResultData uploadModel(@RequestParam("num") String num, @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
-// return sceneProService.uploadModel(num, file);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 保存关联全景图
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/8/1
|
|
|
-// * @param num
|
|
|
-// * @param sid
|
|
|
-// * @param fileName
|
|
|
-// * @param file
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/linkPan/upload")
|
|
|
-// public ResultData uploadLinkPan(
|
|
|
-// @RequestParam(value = "num") String num,
|
|
|
-// @RequestParam(value = "sid") String sid,
|
|
|
-// @RequestParam(value = "fileName") String fileName,
|
|
|
-// @RequestParam("file") MultipartFile file) throws Exception{
|
|
|
-// return sceneEditInfoService.uploadLinkPan(num, sid, fileName, file);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 保存关联全景图
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/8/1
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/linkPan/save")
|
|
|
-// public ResultData saveLinkPan(@RequestBody @Validated SaveLinkPanParamVO param) throws Exception{
|
|
|
-// return sceneEditInfoService.saveLinkPan(param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 删除场景关联
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/8/1
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/linkPan/delete")
|
|
|
-// public ResultData deleteLinkPan(@RequestBody @Validated DeleteLinkPanParamVO param) throws Exception {
|
|
|
-// return sceneEditInfoService.deleteLinkPan(param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 删除场景关联图标
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/8/1
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/styles/delete")
|
|
|
-// public ResultData deleteStyles(@RequestBody @Validated DeleteStylesParamVO param) throws Exception {
|
|
|
-// return sceneEditInfoService.deleteStyles(param);
|
|
|
-// }
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -291,7 +201,8 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/linkPan/list")
|
|
|
public ResultData listLinkPan(@RequestParam(value = "num") String num) throws Exception {
|
|
|
Integer subgroup = this.getSubgroup();
|
|
|
- return sceneEditInfoService.listLinkPan(num, subgroup);
|
|
|
+ String upTime = this.getUpTime();
|
|
|
+ return sceneEditInfoService.listLinkPan(num, subgroup, upTime);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -306,38 +217,9 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/cad/save")
|
|
|
public ResultData saveCad(@RequestBody @Validated BaseDataParamVO param) throws Exception{
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditInfoService.saveCad(param);
|
|
|
}
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 保存户型图
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/1/20
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @GetMapping(value = "/cad/dxf/download")
|
|
|
-// public ResultData saveCadDxf(@RequestParam String num) throws Exception{
|
|
|
-// return sceneEditInfoService.downloadDxf(num);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 保存户型图
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/1/20
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/cad/dxf/upload")
|
|
|
-// public ResultData uploadDxf(@RequestParam MultipartFile file, @RequestParam String num) throws Exception{
|
|
|
-// return sceneEditInfoService.uploadDxf(file, num);
|
|
|
-// }
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -351,7 +233,8 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/cad/reset")
|
|
|
public ResultData resetCad(@RequestParam(value = "num") String num) throws Exception {
|
|
|
Integer subgroup = this.getSubgroup();
|
|
|
- return sceneEditInfoService.resetCad(num, subgroup);
|
|
|
+ String upTime = this.getUpTime();
|
|
|
+ return sceneEditInfoService.resetCad(num, subgroup, upTime);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -365,6 +248,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/cad/rename")
|
|
|
public ResultData renameCad(@RequestBody @Validated RenameCadParamVO param) throws IOException {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditInfoService.renameCad(param);
|
|
|
}
|
|
|
|
|
@@ -381,139 +265,10 @@ public class SceneEditController extends BaseController{
|
|
|
@InitEditInfo
|
|
|
@GetMapping(value = "/getInfo")
|
|
|
public SceneInfoVO getInfo(@Validated SceneInfoParamVO param) throws Exception{
|
|
|
-// param.setSubgroup(this.getSubgroup());
|
|
|
param.setReqType(SceneInfoReqType.EDIT.code());
|
|
|
return sceneEditInfoService.getSceneInfo(param);
|
|
|
}
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 上传全景图
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/2/16
|
|
|
-// * @param num
|
|
|
-// * @param file
|
|
|
-// * @return java.util.List<java.lang.String>
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/uploadPanorama")
|
|
|
-// public ResultData uploadPanorama(@RequestParam(value = "num") String num,
|
|
|
-// @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
-// return sceneEditInfoService.uploadPanorama(num, file);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 下载全景图
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/2/16
|
|
|
-// * @return java.util.List<java.lang.String>
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/downloadPanorama")
|
|
|
-// public ResultData downloadPanorama(@RequestBody @Validated FileParamVO param) throws Exception {
|
|
|
-// return sceneEditInfoService.downloadPanorama(param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 保存视频盒子
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/2/18
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/video/box/save")
|
|
|
-// public ResultData saveVideoBox(@RequestBody @Validated FileNameAndDataParamVO param) throws Exception {
|
|
|
-// return sceneEditInfoService.saveVideoBox(param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 删除视频盒子
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/2/18
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/video/box/delete")
|
|
|
-// public ResultData deleteVideoBox(@RequestBody @Validated DeleteSidParamVO param) throws Exception {
|
|
|
-// return sceneEditInfoService.deleteVideoBox(param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 保存空间贴图
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/2/18
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/photo/box/save")
|
|
|
-// public ResultData savePhotoBox(@RequestBody @Validated BaseDataParamVO param) throws Exception {
|
|
|
-// return sceneEditInfoService.saveBoxPhoto(param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 删除空间贴图
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/2/18
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/photo/box/delete")
|
|
|
-// public ResultData deletePhotoBox(@RequestBody @Validated DeleteSidParamVO param) throws Exception {
|
|
|
-// return sceneEditInfoService.deleteBoxPhoto(param);
|
|
|
-// }
|
|
|
-//
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 下载视频
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/2/23
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.scene.vo.DownloadVO
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/downloadBallScreenVideo")
|
|
|
-// public DownloadVO downloadBallScreenVideo(@RequestBody @Validated BallScreenVideoParamVO param){
|
|
|
-// return sceneEditInfoService.downloadBallScreenVideo(param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 上传视频
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/2/23
|
|
|
-// * @param num
|
|
|
-// * @param fileName
|
|
|
-// * @param file
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/uploadBallScreenVideo")
|
|
|
-// public ResultData uploadBallScreenVideo(
|
|
|
-// @RequestParam("num") String num,
|
|
|
-// @RequestParam("fileName") String fileName,
|
|
|
-// @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
-// return sceneEditInfoService.uploadBallScreenVideo(num, fileName, file);
|
|
|
-// }
|
|
|
|
|
|
-// @CheckPermit
|
|
|
@RequestMapping(value = "/upload/files", method = RequestMethod.POST)
|
|
|
public String uploads(@RequestParam(value = "base64",required = false) String base64,
|
|
|
@RequestParam(value = "fileName",required = false) String fileName,
|
|
@@ -523,23 +278,10 @@ public class SceneEditController extends BaseController{
|
|
|
@RequestParam(value = "type",required = false,defaultValue = "1") Integer type,
|
|
|
@RequestParam(value = "uploadPath",required = false) String uploadPath) throws Exception {
|
|
|
Integer subgroup = this.getSubgroup();
|
|
|
- return sceneUploadService.uploads(base64,fileName,bizType,files,num,type,uploadPath, subgroup);
|
|
|
+ String upTime = this.getUpTime();
|
|
|
+ return sceneUploadService.uploads(base64,fileName,bizType,files,num,type,uploadPath, subgroup, upTime);
|
|
|
}
|
|
|
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 用户自定义上传文本内容上传
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/8/1
|
|
|
-// * @param param
|
|
|
-// * @return java.lang.String
|
|
|
-// **/
|
|
|
-// @RequestMapping(value = "/upload/content", method = RequestMethod.POST)
|
|
|
-// public String uploadContent(@RequestBody @Validated UploadContentParamVO param) throws Exception {
|
|
|
-// return sceneUploadService.uploadContent(param);
|
|
|
-// }
|
|
|
-//
|
|
|
/**
|
|
|
* <p>
|
|
|
删除文件
|
|
@@ -552,34 +294,9 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping("/delete/file")
|
|
|
public ResultData delete(@RequestBody @Validated DeleteFileParamVO paramVO) throws Exception{
|
|
|
paramVO.setSubgroup(this.getSubgroup());
|
|
|
+ paramVO.setUpTimeKey(this.getUpTime());
|
|
|
return sceneUploadService.delete(paramVO);
|
|
|
}
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 场景同步
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/8/1
|
|
|
-// * @param num
|
|
|
-// * @param type
|
|
|
-// * @param floorPlanJson
|
|
|
-// * @param ajkJson
|
|
|
-// * @param cameraJson
|
|
|
-// * @param files
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/sceneSync")
|
|
|
-// public ResultData sceneSync(
|
|
|
-// @RequestParam("num") String num,
|
|
|
-// @RequestParam(value = "type", defaultValue = "ajk") String type,
|
|
|
-// @RequestParam("floorPlanJson") String floorPlanJson,
|
|
|
-// @RequestParam("ajkJson") String ajkJson,
|
|
|
-// @RequestParam("cameraJson") String cameraJson,
|
|
|
-// @RequestParam("files") MultipartFile[] files) throws Exception{
|
|
|
-// return sceneEditInfoService.sceneSync(num, type, floorPlanJson, ajkJson, cameraJson, files);
|
|
|
-// }
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -592,27 +309,8 @@ public class SceneEditController extends BaseController{
|
|
|
**/
|
|
|
@PostMapping(value = "/getAuth")
|
|
|
public SceneAuthVO getAuth(@RequestParam("num") String num) throws Exception{
|
|
|
-// Integer subgroup = this.getSubgroup();
|
|
|
return sceneEditService.getAuth(num);
|
|
|
}
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 上传国际化文件
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/4/11
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.web.response.ResultData
|
|
|
-// **/
|
|
|
-// @PostMapping(value = "/locales")
|
|
|
-// public ResultData locales(@RequestBody @Validated LocalesParamVO param) throws Exception {
|
|
|
-// if("pro".equals(env)){
|
|
|
-// throw new BusinessException(ErrorCode.HAVE_NO_RIGHT);
|
|
|
-// }
|
|
|
-// return sceneEditService.locales(param);
|
|
|
-// }
|
|
|
-//
|
|
|
/**
|
|
|
* <p>
|
|
|
保存导览
|
|
@@ -624,6 +322,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/tour/save")
|
|
|
public ResultData saveTour(@RequestBody @Validated BaseDataParamVO param) throws Exception{
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditService.saveTour(param);
|
|
|
}
|
|
|
|
|
@@ -639,19 +338,10 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/tour/delete")
|
|
|
public ResultData deleteTour(@RequestBody @Validated BaseSceneParamVO param) throws Exception{
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditService.deleteTour(param);
|
|
|
}
|
|
|
|
|
|
-// @PostMapping(value = "/tour/video/upload")
|
|
|
-// public ResultData uploadTourVideo(@RequestParam("num") String num, @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
-// return downloadTourVideoService.uploadTourVideo(num, file);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @PostMapping(value = "/tour/video/download")
|
|
|
-// public ResultData downloadTourVideo(@RequestParam("num") String num) throws Exception {
|
|
|
-// return downloadTourVideoService.downloadTourVideo(num);
|
|
|
-// }
|
|
|
-
|
|
|
/**
|
|
|
* <p>
|
|
|
添加马赛克
|
|
@@ -664,6 +354,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/mosaics/add")
|
|
|
public ResultData addMosaics(@RequestBody @Validated BaseDataParamVO param) throws Exception{
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditInfoService.addMosaics(param);
|
|
|
}
|
|
|
|
|
@@ -679,6 +370,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/mosaics/delete")
|
|
|
public ResultData deleteMosaics(@RequestBody @Validated DeleteMosaicParamVO param) throws Exception{
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditInfoService.deleteMosaics(param);
|
|
|
}
|
|
|
|
|
@@ -694,7 +386,8 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/mosaics/list")
|
|
|
public ResultData getMosaicList(@RequestBody @Validated BaseSceneParamVO param) throws Exception{
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
- return ResultData.ok(sceneEditInfoService.getMosaicList(param.getNum(), param.getSubgroup()));
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
+ return ResultData.ok(sceneEditInfoService.getMosaicList(param.getNum(), param.getSubgroup(), param.getUpTimeKey()));
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -709,6 +402,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/waterMark/add")
|
|
|
public ResultData addWaterMark(@RequestBody @Validated BaseFileParamVO param) throws Exception{
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditInfoService.addWaterMark(param);
|
|
|
}
|
|
|
|
|
@@ -724,6 +418,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/waterMark/delete")
|
|
|
public ResultData deleteWaterMark(@RequestBody @Validated BaseFileParamVO param) throws Exception{
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditInfoService.deleteWaterMark(param);
|
|
|
}
|
|
|
|
|
@@ -736,6 +431,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/filter/save")
|
|
|
public ResultData saveFilter(@RequestBody @Validated SaveFiltersParamVO param) throws Exception{
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditInfoService.saveFilter(param);
|
|
|
}
|
|
|
|
|
@@ -748,36 +444,9 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping(value = "/filter/list")
|
|
|
public ResultData listFilter(@RequestBody @Validated BaseSceneParamVO param) throws Exception{
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditInfoService.listFilter(param);
|
|
|
}
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * <p>
|
|
|
-// 添加监控
|
|
|
-// * </p>
|
|
|
-// * @author dengsixing
|
|
|
-// * @date 2022/9/20
|
|
|
-// * @param param
|
|
|
-// * @return com.fdkankan.common.response.ResultData
|
|
|
-// **/
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping("/surveillance/save")
|
|
|
-// ResultData saveSurveillance(@RequestBody @Validated SurveillanceParamVO param) throws Exception {
|
|
|
-// return surveillanceService.saveSurveillance(param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping("/surveillance/delete")
|
|
|
-// public ResultData deleteSurveillance(@RequestBody @Validated BaseSidParamVO param) throws IOException {
|
|
|
-// return surveillanceService.deleteSurveillance(param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping("/surveillance/list")
|
|
|
-// public ResultData listSurveillance(@RequestBody @Validated BaseSceneParamVO param){
|
|
|
-// return ResultData.ok(surveillanceService.listSurveillance(param.getNum()));
|
|
|
-// }
|
|
|
-//
|
|
|
/**
|
|
|
* <p>
|
|
|
上传空间模型
|
|
@@ -793,7 +462,7 @@ public class SceneEditController extends BaseController{
|
|
|
@RequestParam(value = "num") String num,
|
|
|
@RequestParam(value = "sid") String sid,
|
|
|
@RequestParam(value = "file") MultipartFile file) throws Exception {
|
|
|
- return boxModelService.uploadBoxModel(num, this.getSubgroup(), sid, file);
|
|
|
+ return boxModelService.uploadBoxModel(num, this.getSubgroup(), this.getUpTime(), sid, file);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -806,6 +475,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping("/model/box/save")
|
|
|
public ResultData saveBoxModel(@RequestBody @Validated BaseJsonDataParamVO param) throws Exception {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return boxModelService.saveBoxModel(param);
|
|
|
}
|
|
|
|
|
@@ -818,26 +488,10 @@ public class SceneEditController extends BaseController{
|
|
|
**/
|
|
|
@PostMapping("/model/box/delete")
|
|
|
public ResultData delBoxModel(@RequestBody @Validated DeleteSidParamVO param) throws Exception {
|
|
|
+ param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return boxModelService.deleteBoxModel(param);
|
|
|
}
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * 上传二维码和分享的logo
|
|
|
-// * @return
|
|
|
-// */
|
|
|
-// @PostMapping(value = "/uploadShareLogo")
|
|
|
-// public ResultData uploadShareLogo(@RequestParam("num") String num, @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
-// return scenePlusService.uploadShareLogo(num, file);
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * 获取编辑器版本信息
|
|
|
-// * @return
|
|
|
-// */
|
|
|
-// @GetMapping("/getServiceUpTip")
|
|
|
-// public ResultData getServiceUpTip(){
|
|
|
-// return sceneEditService.getServiceUpTip();
|
|
|
-// }
|
|
|
|
|
|
/**
|
|
|
* 保存或者修改指示牌
|
|
@@ -847,6 +501,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping("/billboards/save")
|
|
|
public ResultData saveBillboards(@RequestBody @Validated BaseJsonArrayParamVO param) throws Exception {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditInfoExtService.saveBillboards(param);
|
|
|
}
|
|
|
|
|
@@ -858,6 +513,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping("/billboards/delete")
|
|
|
public ResultData deleteBillboards(@RequestBody @Validated DeleteSidListParamVO param) throws Exception {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return sceneEditInfoExtService.deleteBillboards(param);
|
|
|
}
|
|
|
|
|
@@ -869,6 +525,7 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping("/billboards/list")
|
|
|
public ResultData deleteBillboards(@RequestBody @Validated BaseSceneParamVO param) throws Exception {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return ResultData.ok(sceneEditInfoExtService.listBillboards(param));
|
|
|
}
|
|
|
|
|
@@ -881,26 +538,9 @@ public class SceneEditController extends BaseController{
|
|
|
@PostMapping("/billboards/styles/delete")
|
|
|
public ResultData deleteBillboards(@RequestBody @Validated DeleteStylesParamVO param) throws Exception {
|
|
|
param.setSubgroup(this.getSubgroup());
|
|
|
+ param.setUpTimeKey(this.getUpTime());
|
|
|
return ResultData.ok(sceneEditInfoExtService.deleteBillboardsStyles(param));
|
|
|
}
|
|
|
-//
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/cutModel/save")
|
|
|
-// public ResultData saveCutModel(@RequestBody @Validated BaseJsonArrayParamVO param) throws Exception {
|
|
|
-// return cutModelService.saveCutModel(param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/cutModel/list")
|
|
|
-// public ResultData listCutModel(@RequestBody @Validated BaseSceneParamVO param) throws Exception {
|
|
|
-// return ResultData.ok(cutModelService.listCutModel(param));
|
|
|
-// }
|
|
|
-//
|
|
|
-// @CheckPermit
|
|
|
-// @PostMapping(value = "/cutModel/delete")
|
|
|
-// public ResultData deleteCutModel(@RequestBody @Validated DeleteSidListParamVO param) throws Exception {
|
|
|
-// return cutModelService.deleteCutModel(param);
|
|
|
-// }
|
|
|
|
|
|
|
|
|
|