Commit 620c29c1 authored by tianbo's avatar tianbo

大屏-ZL-接口改post

parent 095b2ace
...@@ -10,11 +10,11 @@ import java.util.List; ...@@ -10,11 +10,11 @@ import java.util.List;
@NoArgsConstructor @NoArgsConstructor
public class EquCategoryVo { public class EquCategoryVo {
public String value; public String value;
public String title; public String label;
public List<EquCategoryVo> children; public List<EquCategoryVo> children;
public EquCategoryVo(String title, String value) { public EquCategoryVo(String label, String value) {
this.title = title; this.label = label;
this.value = value; this.value = value;
} }
......
...@@ -123,13 +123,13 @@ public class ZLDPStatisticsController { ...@@ -123,13 +123,13 @@ public class ZLDPStatisticsController {
/** /**
* 根据设备种类code获取设备类别下拉 * 根据设备种类code获取设备类别下拉
* *
* @param equListCode 设备种类code * @param paramDto 设备种类code
* @return 设备类别列表 * @return 设备类别列表
*/ */
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/getEquCategoryList") @PostMapping(value = "/getEquCategoryList")
@ApiOperation(httpMethod = "GET", value = "根据设备种类code获取设备类别下拉", notes = "根据设备种类code获取设备类别下拉") @ApiOperation(httpMethod = "POST", value = "根据设备种类code获取设备类别下拉", notes = "根据设备种类code获取设备类别下拉")
public ResponseModel<List<EquCategoryVo>> getEquCategoryTree(String equListCode){ public ResponseModel<List<EquCategoryVo>> getEquCategoryTree(@RequestBody DPFilterParamForDetailDto paramDto){
return ResponseHelper.buildResponse(statisticsService.getEquCategoryList(equListCode)); return ResponseHelper.buildResponse(statisticsService.getEquCategoryList(paramDto.getTreeValue()));
} }
} }
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