package com.zksy.system.basicData.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zksy.common.core.domain.AjaxResult;
import com.zksy.system.basicData.domain.CrmComplain;
import com.zksy.system.basicData.domain.CrmNewsRelease;

import java.util.List;

/**
 * 新闻发布Service接口
 *
 * @author sy
 * @date 2024-05-21
 */
public interface CrmNewsReleaseService extends IService<CrmNewsRelease> {
    /**
     * TODO 新增新闻
     * @param crmNewsRelease
     * @return com.zksy.common.core.domain.AjaxResult
     * @author Administrator
     * @date 2024/5/20 09:17:26
     */
    AjaxResult saveCrmNewsRelease(CrmNewsRelease crmNewsRelease);

    /**
     * TODO 修改新闻
     * @param crmNewsRelease
     * @return com.zksy.common.core.domain.AjaxResult
     * @author Administrator
     * @date 2024/5/20 09:18:01
     */
    AjaxResult updateCrmNewsRelease(CrmNewsRelease crmNewsRelease);

    AjaxResult getByCrmNewsReleaseId(String id);

    /**
     * TODO 批量删除新闻信息和文件
     * @param ids
     * @return com.zksy.common.core.domain.AjaxResult
     * @author Administrator
     * @date 2024/5/21 09:28:14
     */
    AjaxResult removeCrmNewsRelease(List<String> ids);
}
