
package org.sky.scientific.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.sky.core.mp.base.BaseService;
import org.sky.scientific.excel.XmWwxmExcel;
import org.sky.scientific.pojo.dto.XmWwxmDTO;
import org.sky.scientific.pojo.entity.XmWwxmEntity;
import org.sky.scientific.pojo.vo.XmWwxmVO;

import java.util.List;

/**
 * 项目-委外项目 服务类
 *
 * @author Kd
 * @since 2025-06-29
 */
public interface IXmWwxmService extends BaseService<XmWwxmEntity> {

	/**
	 * 导出数据
	 *
	 * @param queryWrapper 查询条件
	 * @return List<XmWwxmExcel>
	 */
	List<XmWwxmExcel> exportXmWwxm(Wrapper<XmWwxmEntity> queryWrapper);

	/**
	 * 删除
	 *
	 * @param longList 主键集合
	 * @return boolean
	 */
    boolean physicalDeleteByIds(List<Long> longList);

	IPage<XmWwxmVO> selectPage(IPage<XmWwxmVO> page, XmWwxmDTO wwxmDTO);

	List<XmWwxmVO> selectSimpleList(String yearAndMonth);
}

