平台修改意见20251120-设备列表查询接口增加设备类型参数
This commit is contained in:
@ -54,10 +54,11 @@ public class EmsSiteConfigController extends BaseController{
|
||||
* 获取设备列表-分页
|
||||
*/
|
||||
@GetMapping("/getDeviceInfoList")
|
||||
public TableDataInfo getDeviceInfoList(@RequestParam String siteId)
|
||||
public TableDataInfo getDeviceInfoList(@RequestParam String siteId,
|
||||
@RequestParam String deviceCategory)
|
||||
{
|
||||
startPage();
|
||||
List<SiteDeviceListVo> list = iEmsSiteService.getAllDeviceList(siteId);
|
||||
List<SiteDeviceListVo> list = iEmsSiteService.getAllDeviceList(siteId, deviceCategory);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@ -76,7 +77,7 @@ public class EmsSiteConfigController extends BaseController{
|
||||
@GetMapping("/getDeviceList")
|
||||
public AjaxResult getDeviceInfoList2(@RequestParam String siteId)
|
||||
{
|
||||
return success(iEmsSiteService.getAllDeviceList(siteId));
|
||||
return success(iEmsSiteService.getAllDeviceList(siteId, null));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user