package org.sky.scientific.mapper;

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.SubjectEnterprise;

import java.util.List;


/**
 * SubjectEnterpriseMapper 接口
 *
 */
public interface SubjectEnterpriseMapper extends BaseMapper<SubjectEnterprise> {

	/**
	 * 查询列表
	 * @param page
	 * @param subjectEnterprise
	 * @return
	 */
	@TenantIgnore
	List<SubjectEnterprise> selectSubjectEnterpriseList(IPage<SubjectEnterprise> page, @Param("ew") SubjectEnterprise subjectEnterprise);

	int insertBatch(List<SubjectEnterprise> insertList);

	int deleteBatch(List<Long> ids);


}
