|
@@ -269,7 +269,6 @@ public class HouseManagerController extends BaseController{
|
|
|
int ins = tmOperationService.addNewWithTypeAndContent(getContextUserInfo() , "VR楼盘项目" , "更新VR项目分享二维码/" + tmHouse.getHouseTitle() + "-失败");
|
|
|
if(ins != 1){
|
|
|
log.info("插入操作记录失败");
|
|
|
- throw new CommonBaseException(ResultCodeEnum.D101 , "插入操作记录失败");
|
|
|
}
|
|
|
return Result.failure("生成分享二维码失败");
|
|
|
}
|
|
@@ -279,7 +278,6 @@ public class HouseManagerController extends BaseController{
|
|
|
int ins = tmOperationService.addNewWithTypeAndContent(getContextUserInfo() , "VR楼盘项目" , "更新VR项目分享二维码/" + tmHouse.getHouseTitle() + "-异常");
|
|
|
if(ins != 1){
|
|
|
log.info("插入操作记录失败");
|
|
|
- throw new CommonBaseException(ResultCodeEnum.D101 , "插入操作记录失败");
|
|
|
}
|
|
|
return Result.failure("生成分享二维码出现异常");
|
|
|
}
|
|
@@ -297,7 +295,6 @@ public class HouseManagerController extends BaseController{
|
|
|
int ins = tmOperationService.addNewWithTypeAndContent(getContextUserInfo() , "VR楼盘项目" , "更新VR项目分享二维码/" + tmHouse.getHouseTitle() + "-成功");
|
|
|
if(ins != 1){
|
|
|
log.info("插入操作记录失败");
|
|
|
- throw new CommonBaseException(ResultCodeEnum.D101 , "插入操作记录失败");
|
|
|
}
|
|
|
|
|
|
Map<String , Object> resultMap = new HashMap<>();
|
|
@@ -439,14 +436,12 @@ public class HouseManagerController extends BaseController{
|
|
|
int ins = tmOperationService.addNewWithTypeAndContent(getContextUserInfo() , "VR楼盘项目" , "删除VR项目/" + dbHouse.getHouseTitle() + "-失败");
|
|
|
if(ins != 1){
|
|
|
log.info("插入操作记录失败");
|
|
|
- throw new CommonBaseException(ResultCodeEnum.D101 , "插入操作记录失败");
|
|
|
}
|
|
|
return Result.failure("删除失败");
|
|
|
}
|
|
|
int ins = tmOperationService.addNewWithTypeAndContent(getContextUserInfo() , "VR楼盘项目" , "删除VR项目/" + dbHouse.getHouseTitle() + "-成功");
|
|
|
if(ins != 1){
|
|
|
log.info("插入操作记录失败");
|
|
|
- throw new CommonBaseException(ResultCodeEnum.D101 , "插入操作记录失败");
|
|
|
}
|
|
|
List<String> sceneNumList = panoService.getKanKanSceneNums(dbHouse.getId() , getToken());
|
|
|
log.info("720返回的房源的[{}]对应的四维场景码列表为:{}" , dbHouse.getId() , JSON.toJSONString(sceneNumList));
|
|
@@ -505,14 +500,12 @@ public class HouseManagerController extends BaseController{
|
|
|
int ins = tmOperationService.addNewWithTypeAndContent(getContextUserInfo() , "VR楼盘项目" , "更新VR项目/" + dbHouse.getHouseTitle() + "-成功");
|
|
|
if(ins != 1){
|
|
|
log.info("插入操作记录失败");
|
|
|
- throw new CommonBaseException(ResultCodeEnum.D101 , "插入操作记录失败");
|
|
|
}
|
|
|
return Result.success("修改成功");
|
|
|
}else{
|
|
|
int ins = tmOperationService.addNewWithTypeAndContent(getContextUserInfo() , "VR楼盘项目" , "更新VR项目/" + dbHouse.getHouseTitle() + "-失败");
|
|
|
if(ins != 1){
|
|
|
log.info("插入操作记录失败");
|
|
|
- throw new CommonBaseException(ResultCodeEnum.D101 , "插入操作记录失败");
|
|
|
}
|
|
|
return Result.failure("修改失败");
|
|
|
}
|
|
@@ -565,7 +558,6 @@ public class HouseManagerController extends BaseController{
|
|
|
int ins = tmOperationService.addNewWithTypeAndContent(getContextUserInfo() , "审核管理" , "提交审核/" + dbHouse.getHouseTitle() + "-成功");
|
|
|
if(ins != 1){
|
|
|
log.info("插入操作记录失败");
|
|
|
- throw new CommonBaseException(ResultCodeEnum.D101 , "插入操作记录失败");
|
|
|
}
|
|
|
|
|
|
Map<String , Object> map = new HashMap<>();
|
|
@@ -575,7 +567,6 @@ public class HouseManagerController extends BaseController{
|
|
|
int ins = tmOperationService.addNewWithTypeAndContent(getContextUserInfo() , "审核管理" , "提交审核/" + dbHouse.getHouseTitle() + "-失败");
|
|
|
if(ins != 1){
|
|
|
log.info("插入操作记录失败");
|
|
|
- throw new CommonBaseException(ResultCodeEnum.D101 , "插入操作记录失败");
|
|
|
}
|
|
|
return Result.failure("提交失败");
|
|
|
}
|
|
@@ -631,7 +622,6 @@ public class HouseManagerController extends BaseController{
|
|
|
int ins = tmOperationService.addNewWithTypeAndContent(getContextUserInfo() , "审核管理" , "撤销审核/" + dbHouse.getHouseTitle() + "-失败");
|
|
|
if(ins != 1){
|
|
|
log.info("插入操作记录失败");
|
|
|
- throw new CommonBaseException(ResultCodeEnum.D101 , "插入操作记录失败");
|
|
|
}
|
|
|
throw new CommonBaseException(ResultCodeEnum.D101 , "撤销房源的审批记录失败");
|
|
|
}
|
|
@@ -644,7 +634,6 @@ public class HouseManagerController extends BaseController{
|
|
|
int ins = tmOperationService.addNewWithTypeAndContent(getContextUserInfo() , "审核管理" , "撤销审核/" + dbHouse.getHouseTitle() + "-成功");
|
|
|
if(ins != 1){
|
|
|
log.info("插入操作记录失败");
|
|
|
- throw new CommonBaseException(ResultCodeEnum.D101 , "插入操作记录失败");
|
|
|
}
|
|
|
|
|
|
return Result.success("撤销成功");
|