|
|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.dongjian.dashboard.back.controller; |
|
|
|
|
|
|
|
import com.dongjian.dashboard.back.configurator.aspect.OperationLog; |
|
|
|
import com.dongjian.dashboard.back.dto.BaseSearchNoCompanysParams; |
|
|
|
import com.dongjian.dashboard.back.dto.devicegroup.*; |
|
|
|
import com.dongjian.dashboard.back.vo.device.DeviceVO; |
|
|
|
import io.swagger.v3.oas.annotations.Hidden; |
|
|
|
@ -154,6 +155,7 @@ public class DeviceGroupController { |
|
|
|
@RequestMapping(value = "/getBindedDeviceByGroup/{deviceGroupId}", method = RequestMethod.GET) |
|
|
|
public PageResponse<PageInfo<DeviceVO>> getBindedDeviceByGroup( |
|
|
|
@PathVariable Long deviceGroupId, |
|
|
|
BaseSearchNoCompanysParams BaseSearchNoCompanysParams, |
|
|
|
@Parameter(name = "LoginName", description = "Login name", required = true, schema = @Schema(defaultValue = "admin")) @RequestHeader(required = true) String LoginName, |
|
|
|
@Parameter(name = "AccessToken", description = "Authentication token", required = true) @RequestHeader(required = true) String AccessToken, |
|
|
|
@Parameter(name = "UserId", description = "User ID", required = true, schema = @Schema(defaultValue = "1")) @RequestHeader(required = true) Long UserId, |
|
|
|
@ -161,6 +163,8 @@ public class DeviceGroupController { |
|
|
|
@Parameter(name = "LanguageType", description = "Language type: 0 - Chinese, 1 - English, 2 - Japanese", required = true, schema = @Schema(defaultValue = "2")) @RequestHeader(required = true) Integer LanguageType) { |
|
|
|
|
|
|
|
DeviceGroupSearchParams pageSearchParam = new DeviceGroupSearchParams(); |
|
|
|
pageSearchParam.setPageNum(BaseSearchNoCompanysParams.getPageNum()); |
|
|
|
pageSearchParam.setPageSize(BaseSearchNoCompanysParams.getPageSize()); |
|
|
|
pageSearchParam.setUserId(UserId); |
|
|
|
pageSearchParam.setDeviceGroupIdList(Collections.singletonList(deviceGroupId)); |
|
|
|
|
|
|
|
|