
package org.sky.scientific.service;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.sky.core.mp.base.BaseService;
import org.sky.scientific.pojo.entity.YfzdEntity;

import java.util.List;
import java.util.Map;

/**
 * 研发制度 服务类
 *
 * @author Kd
 * @since 2025-06-29
 */
public interface IYfzdService extends BaseService<YfzdEntity> {

	/**
	 * 修改数据
	 *
	 * @param yfzd 研发制度
	 * @return boolean
	 */
	boolean editYfzd(YfzdEntity yfzd);

	/**
	 * 查询数据
	 *
	 * @param yfzd 研发制度
	 */
	Map<String, List<YfzdEntity>> selectYfzd(YfzdEntity yfzd);

	/**
	 * 删除数据
	 *
	 * @param longList
	 * @return
	 */
	boolean physicalDeleteByIds(List<Long> ids);

	/**
	 * 一键下载
	 *
	 * @param response
	 * @param year
	 */
	void downloadZipFiles(HttpServletRequest request, HttpServletResponse response, String year);
}
