package com.qxueyou.scc.teach.student.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.teach.student.model.StuStudent;
|
|
public interface IStudentService {
|
|
/**
|
* ÐÂÔöѧԱ
|
* @param name ѧԱÐÕÃû
|
* @param studentNo ѧºÅ
|
* @param sex ÐÔ±ð£¬Boolean: 1:ÄÐ;0:Å®
|
* @param phoneNo ÊÖ»úºÅÂë
|
* @return
|
*/
|
Result insertStudent(String classId,String name, String studentNo, boolean sex,String phoneNo, String orgId);
|
|
Result insertStudent(String classId,String name, String studentNo, boolean sex,String phoneNo, String orgId,String comName);
|
|
/**
|
* »ñȡѧԱÁбí
|
* @param classId °à¼¶id
|
* @param keyword ¹Ø¼ü´Ê
|
* @param pageNum Ò³Âë
|
* @param pageSize ÿҳÏÔʾÊýÁ¿
|
* @return
|
*/
|
List<Map<String, Object>> getStudentLst(String classId,String keyword, Pager pager);
|
Result updateImgStudent(String studentId);
|
|
/**
|
* »ñȡѧԱÊýÁ¿
|
* @param classId °à¼¶id
|
* @param keyword ¹Ø¼ü´Ê
|
* @return
|
*/
|
int getStudentsCount(String classId,String keyword);
|
|
/**
|
* ɾ³ýѧԱ
|
* @param classId °à¼¶id
|
* @param studentIds ѧԱid
|
* @return
|
*/
|
Result deleteStudent(String classId,String[] studentIds);
|
|
/**
|
* ²é¿´Ñ§Ô±
|
* @param classId °à¼¶id
|
* @param studentId ѧԱid
|
* @return
|
*/
|
Result queryStudent(String classId,String studentId);
|
|
/**
|
*
|
* @param studentIds
|
* @return
|
*/
|
Result doActivateStudent(String[] studentIds);
|
|
/**
|
*
|
* @param studentIds
|
* @return
|
*/
|
Result doDeActivateStudent(String[] studentIds);
|
|
/**
|
* ѧԱѧϰ½ø¶È
|
*
|
* @param classId
|
* @param studentId
|
* @return
|
*/
|
Result studentProgress(String classId, String studentId);
|
|
/**
|
* ¸üÐÂѧÉúÐÅÏ¢
|
* @param studentId
|
* @param name
|
* @param password
|
* @param studentNo
|
* @param sex
|
* @param phoneNo
|
* @return
|
*/
|
Result updateStudent(String studentId, String name, String password, String studentNo, boolean sex, String phoneNo);
|
|
/**
|
* ͨ¹ýÓû§»ñȡѧÉúÐÅÏ¢
|
* @param userId
|
* @return
|
*/
|
StuStudent getStudentByUserId(String userId);
|
|
List<StuStudent> getStudentByclassId(String classId);
|
|
StuStudent getStudentByNo(String studentNo);
|
|
}
|