package com.sqx.modules.announcement.service;

import com.sqx.modules.announcement.entity.Announcement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.modules.common.dto.AddAnnouncementDTO;
import com.sqx.modules.common.dto.DeleteAnnouncementDTO;
import com.sqx.modules.common.dto.UpdateAnnouncementDTO;

/**
* @author Administrator
* @description 针对表【announcement(公告表)】的数据库操作Service
* @createDate 2025-01-02 14:33:44
*/
public interface AnnouncementService extends IService<Announcement> {

    Object add(AddAnnouncementDTO announcementDTO);

    Object updateInfo(UpdateAnnouncementDTO updateAnnouncementDTO);

    Object listInfo(String title, Integer state, Integer id);

}
