package market.Slm.Notice.mapper;

import java.util.Date;
import java.util.List;

import market.Slm.Notice.vo.SlmNotice;

import com.hnshituo.orm.GenericMapper;

public interface SlmNoticeMapper extends GenericMapper<SlmNotice,Object> {

	List<SlmNotice> doQuery(SlmNotice ocp, String userId, int i, int j, String isRead);

	List<SlmNotice> doQueryOne(SlmNotice wn, String userId, int i, int j);

	void doUpdatePlus(SlmNotice wn);
	List<SlmNotice> doQueryApp(SlmNotice wn, String userId, Date startTime,
			Date endTime, int pageIndex, int pageSize);

	List<SlmNotice> doQueryAll(SlmNotice notice, String userId, Date startTime,
			Date endTime, int pageIndex, int pageSize);

	
	List<SlmNotice> doQueryWeb(SlmNotice wn, String userId, Date s_time,
			Date e_time, int i, int pageSize);

	int doQueryWebCount(SlmNotice wn, String userId, Date s_time, Date e_time);


	
}
