SysDeviceMapper.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package com.xunmei.system.mapper;
  2. import java.util.List;
  3. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  4. import com.xunmei.system.api.domain.SysDevice;
  5. import org.apache.ibatis.annotations.Mapper;
  6. /**
  7. * 【请填写功能名称】Mapper接口
  8. *
  9. * @author xunmei
  10. * @date 2023-08-22
  11. */
  12. @Mapper
  13. public interface SysDeviceMapper extends BaseMapper<SysDevice> {
  14. /**
  15. * 查询【请填写功能名称】
  16. *
  17. * @param id 【请填写功能名称】主键
  18. * @return 【请填写功能名称】
  19. */
  20. SysDevice selectSysDeviceById(Long id);
  21. List<Long>selectVideoChannelByMonitorId(Long monitorId );
  22. /**
  23. * 根据机构查出所有的视频主机
  24. * @param orgId
  25. * @return
  26. */
  27. List<SysDevice> getHostByOrgId(Long orgId);
  28. /**
  29. * 查询【请填写功能名称】列表
  30. *
  31. * @param sysDevice 【请填写功能名称】
  32. * @return 【请填写功能名称】集合
  33. */
  34. List<SysDevice> selectSysDeviceList(SysDevice sysDevice);
  35. /**
  36. * 新增【请填写功能名称】
  37. *
  38. * @param sysDevice 【请填写功能名称】
  39. * @return 结果
  40. */
  41. int insertSysDevice(SysDevice sysDevice);
  42. /**
  43. * 修改【请填写功能名称】
  44. *
  45. * @param sysDevice 【请填写功能名称】
  46. * @return 结果
  47. */
  48. int updateSysDevice(SysDevice sysDevice);
  49. /**
  50. * 删除【请填写功能名称】
  51. *
  52. * @param id 【请填写功能名称】主键
  53. * @return 结果
  54. */
  55. int deleteSysDeviceById(Long id);
  56. /**
  57. * 批量删除【请填写功能名称】
  58. *
  59. * @param ids 需要删除的数据主键集合
  60. * @return 结果
  61. */
  62. int deleteSysDeviceByIds(Long[] ids);
  63. }