IAlertLogService.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. package com.dgtly.system.service;
  2. import com.dgtly.system.domain.AlertLog;
  3. import java.util.List;
  4. /**
  5. * 弹框日志Service接口
  6. *
  7. * @author chenyn
  8. * @date 2023-06-13
  9. */
  10. public interface IAlertLogService
  11. {
  12. /**
  13. * 查询弹框日志
  14. *
  15. * @param alertLogId 弹框日志ID
  16. * @return 弹框日志
  17. */
  18. public AlertLog selectAlertLogById(Long alertLogId);
  19. // 找
  20. public AlertLog selectAlertLogByUserId(Long userId);
  21. public AlertLog selectAlertLogByUserIdAndAlertId(Long userId,Long alertId);
  22. /**
  23. * 查询弹框日志列表
  24. *
  25. * @param alertLog 弹框日志
  26. * @return 弹框日志集合
  27. */
  28. public List<AlertLog> selectAlertLogList(AlertLog alertLog);
  29. /**
  30. * 新增弹框日志
  31. *
  32. * @param alertLog 弹框日志
  33. * @return 结果
  34. */
  35. public int insertAlertLog(AlertLog alertLog);
  36. /**
  37. * 修改弹框日志
  38. *
  39. * @param alertLog 弹框日志
  40. * @return 结果
  41. */
  42. public int updateAlertLog(AlertLog alertLog);
  43. /**
  44. * 批量删除弹框日志
  45. *
  46. * @param ids 需要删除的数据ID
  47. * @return 结果
  48. */
  49. public int deleteAlertLogByIds(String ids);
  50. /**
  51. * 删除弹框日志信息
  52. *
  53. * @param alertLogId 弹框日志ID
  54. * @return 结果
  55. */
  56. public int deleteAlertLogById(Long alertLogId);
  57. }