From 7d64716cb0d406f21cde03976fd273bd07fdc06f Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期二, 28 九月 2021 11:44:28 +0800 Subject: [PATCH] 更新用户-角色-菜单-权限 --- src/main/java/com/whyc/controller/DeviceInfController.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/DeviceInfController.java b/src/main/java/com/whyc/controller/DeviceInfController.java index 6ec84d5..ec0fe0f 100644 --- a/src/main/java/com/whyc/controller/DeviceInfController.java +++ b/src/main/java/com/whyc/controller/DeviceInfController.java @@ -1,7 +1,9 @@ package com.whyc.controller; +import com.whyc.dto.DeviceInfDTO; import com.whyc.dto.DeviceTypeDTO; import com.whyc.dto.Response; +import com.whyc.pojo.DeviceInf; import com.whyc.service.DeviceInfService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @@ -29,4 +31,10 @@ return service.getAll(); } + @GetMapping("getListBySystemId") + @ApiOperation(value = "璁惧淇℃伅by璁惧绫诲埆") + public Response<List<DeviceInf>> getListBySystemId(Integer systemId){ + return service.getListBySystemId(systemId); + } + } -- Gitblit v1.9.1