package com.ssm.manage.dao;

import com.github.pagehelper.PageInfo;
import com.ssm.manage.entity.BaseProject;
import com.ssm.manage.entity.SmsException;
import com.ssm.manage.query.ProjectRequest;

import java.util.List;

public interface SsmProjectDao extends BaseDao<BaseProject> {
    PageInfo<BaseProject> selectPage(ProjectRequest projectRequest);
    PageInfo<BaseProject> repeatPage(ProjectRequest projectRequest);
    PageInfo<BaseProject> selectPageNew(ProjectRequest projectRequest)throws SmsException;

    PageInfo<BaseProject> selectPageNew1(ProjectRequest projectRequest)throws SmsException;
    PageInfo<BaseProject> selectPageType(ProjectRequest projectRequest);
    List<BaseProject> selectOneim(BaseProject projectRequest);
    List<BaseProject> selectOneims(BaseProject projectRequest);
    List<BaseProject> selectOneimp(BaseProject projectRequest);

    int insertBatch(List<BaseProject> list);

    List<BaseProject> selectUpdate(List<BaseProject> baseProjects);

}
