ITaNoticeService.java 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package com.huiju.estateagents.sample.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.huiju.estateagents.base.ResponseBean;
  4. import com.huiju.estateagents.sample.entity.TaNotice;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. /**
  8. * <p>
  9. * 开屏通知 服务类
  10. * </p>
  11. *
  12. * @author fxf
  13. * @since 2020-03-18
  14. */
  15. public interface ITaNoticeService extends IService<TaNotice> {
  16. /**
  17. * 条件查询开屏通知列表
  18. *
  19. * @param pageNum
  20. * @param pageSize
  21. * @param title
  22. * @param targetType
  23. * @param targetName
  24. * @param status
  25. * @param type
  26. * @return
  27. */
  28. ResponseBean listNoticeByCondition(Integer pageNum, Integer pageSize, String title, String targetType, String targetName,
  29. Integer status, String type);
  30. ResponseBean listNoticeByConditionForAdmin(Integer pageNum, Integer pageSize, String type);
  31. /**
  32. * 批量删除
  33. *
  34. * @param taNoticeList
  35. * @return
  36. */
  37. ResponseBean batchDelete(List<TaNotice> taNoticeList);
  38. /**
  39. * 自动下架已过期的开屏通知
  40. *
  41. * @return
  42. */
  43. Integer updateStatusByInvalidTime();
  44. }