Commit d2ec0e13 authored by H2T's avatar H2T

设备类型添加气瓶

parent 83c1a3d5
......@@ -874,7 +874,13 @@ public class RouteController extends AbstractBaseController {
@ApiOperation(value = "查询设备类型", notes = "查询设备类型")
@GetMapping(value = "/getEquipType", produces = "application/json;charset=UTF-8")
public CommonResponse getEquipType() {
return CommonResponseUtil.success(tzsFeign.getEquipType().getResult());
List<Map<String, Object>> result = tzsFeign.getEquipType().getResult();
HashMap<String, Object> map = new HashMap<>(16);
map.put("name", "气瓶");
map.put("code", "2300");
map.put("type", "cylinder");
result.add(map);
return CommonResponseUtil.success(result);
}
@TycloudOperation(ApiLevel = UserType.AGENCY)
......
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