This commit is contained in:
wuweida 2022-05-11 17:29:01 +08:00
parent 540df792eb
commit 92298bb539
1 changed files with 18 additions and 4 deletions

View File

@ -1,9 +1,6 @@
package com.hisense.monitormanage.controller; package com.hisense.monitormanage.controller;
import com.hisense.monitormanage.dto.CameraChannelDto; import com.hisense.monitormanage.dto.*;
import com.hisense.monitormanage.dto.ChannelLabelDto;
import com.hisense.monitormanage.dto.ChengguanDto;
import com.hisense.monitormanage.dto.ScenicCameraDto;
import com.hisense.monitormanage.entity.*; import com.hisense.monitormanage.entity.*;
import com.hisense.monitormanage.mapper.*; import com.hisense.monitormanage.mapper.*;
import com.hisense.monitormanage.service.*; import com.hisense.monitormanage.service.*;
@ -121,6 +118,23 @@ public class Controller {
return success; return success;
}
/**
* 根据channelId查询摄像头详细信息
* @param channelId
* @return
*/
@RequestMapping("selectByChannelId")
public Result selectByChannelId(String channelId){
List<CameraChannelDto1> list = cameraChannelMapper.selectByChannelId(channelId);
Result success = Result.success(list);
return success;
} }
/** /**