package org.sky.scientific.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.sky.core.tenant.annotation.TenantIgnore;
import org.sky.scientific.pojo.entity.CgZlEntity;

import java.util.List;

/**
 * 科研成果-专利 Mapper 接口
 *
 * @author Kd
 * @since 2025-06-29
 */
public interface CgZlMapper extends BaseMapper<CgZlEntity> {

	@TenantIgnore
	List<CgZlEntity> selectPageByCondition(IPage<CgZlEntity> page, @Param("ew") CgZlEntity cgZl);

	boolean physicalDeleteByIds(List<Long> ids);

    JSONObject zlDashboard(String tenantId, String year);


}
