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); } }