Commit 8332c249 authored by tangwei's avatar tangwei

修改bug

parent 2bc23b98
......@@ -5,6 +5,7 @@ import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
......@@ -49,7 +50,8 @@ public class BuildingController extends AbstractBaseController {
@Autowired
IFormInstanceService formInstanceService;
@Value("${window.vedioFormat}")
String vedioFormat;
/**
* @param groupCode
* @Description 根据groupCode查询allowOperation对应的操作菜单
......@@ -146,7 +148,13 @@ public class BuildingController extends AbstractBaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(value = "建筑装备树", notes = "楼层点位图使用")
public List<PointTreeVo> getBuildTree(@RequestParam(required = false) String bizOrgCode) {
if(vedioFormat.equals("hls")){
bizOrgCode =null;
}
return buildService.getBuildTree(bizOrgCode);
}
@GetMapping(value = "/3dPointTree")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment