
package org.sky.scientific.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.sky.scientific.excel.XmLeaseExcel;
import org.sky.scientific.pojo.entity.XmLeaseEntity;

import java.util.List;

/**
 * 研发项目租赁清单 Mapper 接口
 *
 * @author Kd
 * @since 2025-07-17
 */
public interface XmLeaseMapper extends BaseMapper<XmLeaseEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param xmLease 查询参数
	 * @return List<XmLeaseEntity>
	 */
	List<XmLeaseEntity> selectXmLeasePage(IPage page, @Param("ew") XmLeaseEntity xmLease);


	/**
	 * 获取导出数据
	 *
	 * @param queryWrapper 查询条件
	 * @return List<XmLeaseExcel>
	 */
	List<XmLeaseExcel> exportXmLease(@Param("ew") Wrapper<XmLeaseEntity> queryWrapper);

	/**
	 * 批量删除
	 * @param ids
     * @return
	 */
	int physicalDeleteByIds(List<Long> ids);

    List<XmLeaseEntity> yanfazulinzichanfeiyongfenpeibiao(XmLeaseEntity dto);
}
