package com.qxueyou.scc.school.service;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import com.qxueyou.scc.base.model.Pager;
|
import com.qxueyou.scc.base.model.Result;
|
import com.qxueyou.scc.school.model.SchNote;
|
import com.qxueyou.scc.school.model.viewvo.SchNoteViewVO;
|
|
/**
|
* ±Ê¼Ç·þÎñ½Ó¿Ú
|
* @author ody.yuan
|
*
|
*/
|
public interface INoteService {
|
|
/**
|
* Ìí¼Ó±Ê¼Ç
|
* @param note
|
* @return
|
*/
|
Result insertOrUpdateNote(SchNote note);
|
|
/**
|
* ɾ³ýijҳ½²Ò»ÏµÄÒ»Ìõ±Ê¼Ç
|
* @param noteIds
|
* @return
|
*/
|
Result deleteNotes(String noteIds);
|
|
/**
|
* ɾ³ýijҳ½²ÒåϵÄËùÓбʼÇ
|
* @param handoutPageId ½²ÒåpageID
|
* @param strObjectType ±Ê¼Ç¶ÔÏóÀàÐÍ
|
* @return
|
*/
|
Result deleteAllNotes(String handoutPageId,int strObjectType);
|
|
/**
|
* ±Ê¼ÇÁбí
|
* @param handoutPageId ½²ÒåpageID
|
* @return
|
*/
|
List<SchNoteViewVO> queryNoteList(String handoutPageId,Pager pager);
|
|
/**
|
* ½²Òå±Ê¼ÇÁбí
|
* @param handoutPageId
|
* @param type £¨ÎҵĽ²Òå±Ê¼Ç£º0,ͬѧ±Ê¼Ç £º1,È«²¿±Ê¼Ç£º2£©
|
* @return
|
*/
|
List<SchNoteViewVO> queryHandoutNoteList(String handoutPageId,Integer type,Pager pager);
|
|
/**
|
* µ¥¸ö½²ÒåÈ«²¿±Ê¼ÇÁбí
|
* @param type £¨ÎҵĽ²Òå±Ê¼Ç£º0,ͬѧ±Ê¼Ç £º1,È«²¿±Ê¼Ç£º2£©
|
* @return
|
*/
|
List<Map<String,Object>> queryAllHandoutNoteList(Integer type,String handoutId,Pager pager);
|
|
|
}
|