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);
|
|
/**
|
* 删除某页讲一下的一条笔记
|
* @param noteIds
|
* @return
|
*/
|
Result deleteNotes(String noteIds);
|
|
/**
|
* 删除某页讲义下的所有笔记
|
* @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);
|
|
|
}
|