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.OwSelfReporting;
import com.zksy.system.basicData.domain.dto.OwSelfReportingDTO;

import java.util.List;

/**
 * 官网自主上报Service接口
 *
 * @author sy
 * @date 2024-06-11
 */

public interface OwSelfReportingService extends IService<OwSelfReporting> {
    /**
     * TODO 新增上报
     * @param dto
     * @return com.zksy.common.core.domain.AjaxResult
     * @author Administrator
     * @date 2024/5/20 09:17:26
     */
    AjaxResult saveOwSelfReporting(OwSelfReportingDTO dto);

    /**
     * TODO 修改上报
     * @param owSelfReporting
     * @return com.zksy.common.core.domain.AjaxResult
     * @author Administrator
     * @date 2024/5/20 09:18:01
     */
    AjaxResult updateOwSelfReporting(OwSelfReporting owSelfReporting);

    AjaxResult getByOwSelfReportingId(String id);

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

    AjaxResult checkInformationByUnicode(String unicode);
}
