|
@@ -132,13 +132,17 @@ public class MonitorInfoController {
|
|
|
public AjaxMessage<List<MonitorInfoEntity>> findBySceneId(
|
|
|
@ApiParam(value = "场景ID", required = true) @RequestParam Long id,
|
|
|
@ApiParam(value = "图片类型(0鸟瞰图 1工艺图)", required = false) @RequestParam(required = false) Integer imageType,
|
|
|
- @ApiParam(value = "设备ID", required = false) @RequestParam(required = false) Long deviceId
|
|
|
+ @ApiParam(value = "设备ID", required = false) @RequestParam(required = false) Long deviceId,
|
|
|
+ @ApiParam(value = "类型(0综合调度 1综合展示)", required = false) @RequestParam(required = false) Integer... type
|
|
|
) {
|
|
|
MonitorInfoEntity monitorInfoEntity = new MonitorInfoEntity();
|
|
|
monitorInfoEntity.setSceneId(id);
|
|
|
if (imageType != null) {
|
|
|
monitorInfoEntity.setImageType(imageType);
|
|
|
}
|
|
|
+ if(type!=null&&type.length>0) {
|
|
|
+ monitorInfoEntity.setType(type[0]);
|
|
|
+ }
|
|
|
if (deviceId != null) {
|
|
|
monitorInfoEntity.setDeviceId(deviceId);
|
|
|
}
|