IXiaoyuanInfoService.java 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. package com.ruoyi.system.service.notice;
  2. import com.ruoyi.common.core.domain.AjaxResult;
  3. import com.ruoyi.system.domain.notice.InfoPinglun;
  4. import com.ruoyi.system.domain.notice.XiaoyuanInfo;
  5. import java.util.List;
  6. /**
  7. * 校园安全信息Service接口
  8. *
  9. * @author boman
  10. * @date 2023-08-01
  11. */
  12. public interface IXiaoyuanInfoService
  13. {
  14. /**
  15. * 查询校园安全信息
  16. *
  17. * @param infoId 校园安全信息主键
  18. * @return 校园安全信息
  19. */
  20. public XiaoyuanInfo selectXiaoyuanInfoByInfoId(Long infoId);
  21. /**
  22. * 查询校园安全信息列表
  23. *
  24. * @param xiaoyuanInfo 校园安全信息
  25. * @return 校园安全信息集合
  26. */
  27. public List<XiaoyuanInfo> selectXiaoyuanInfoList(XiaoyuanInfo xiaoyuanInfo);
  28. /**
  29. * 新增校园安全信息
  30. *
  31. * @param xiaoyuanInfo 校园安全信息
  32. * @return 结果
  33. */
  34. public int insertXiaoyuanInfo(XiaoyuanInfo xiaoyuanInfo);
  35. /**
  36. * 新增校园安全信息评论
  37. * @param infoPinglun
  38. * @return
  39. */
  40. public int insertInfoPingLun(InfoPinglun infoPinglun);
  41. /**
  42. * 删除评论
  43. * @param infoPinglun
  44. * @return
  45. */
  46. public int deletePingLun(InfoPinglun infoPinglun);
  47. /**
  48. * 修改校园安全信息
  49. *
  50. * @param xiaoyuanInfo 校园安全信息
  51. * @return 结果
  52. */
  53. public int updateXiaoyuanInfo(XiaoyuanInfo xiaoyuanInfo);
  54. /**
  55. * 点赞接口
  56. * @param xiaoyuanInfo
  57. * @return
  58. */
  59. public AjaxResult dianZan(XiaoyuanInfo xiaoyuanInfo);
  60. /**
  61. * 转发接口
  62. * @param xiaoyuanInfo
  63. * @return
  64. */
  65. public AjaxResult zhuanFa(XiaoyuanInfo xiaoyuanInfo);
  66. /**
  67. * 批量删除校园安全信息
  68. *
  69. * @param infoIds 需要删除的校园安全信息主键集合
  70. * @return 结果
  71. */
  72. public int deleteXiaoyuanInfoByInfoIds(Long[] infoIds);
  73. /**
  74. * 删除校园安全信息信息
  75. *
  76. * @param infoId 校园安全信息主键
  77. * @return 结果
  78. */
  79. public int deleteXiaoyuanInfoByInfoId(Long infoId);
  80. }