package cn.springmvc.service;

import java.util.List;

import cn.springmvc.model.StuInfo;

/**
 * 
 * @author johsnon
 *
 */
public interface StuInfoService {
	// get all stuInfo
	public List<StuInfo> getAllStuInfo() throws Exception;

	// get specific stuInfo by id
	public List<StuInfo> getStuInfoById(int id) throws Exception;

	// insert stu_info into DB
	public int insert(StuInfo info) throws Exception;

	// edit stu_info
	public int edit(StuInfo info) throws Exception;

	// get specific stu_info by userName and passWd
	public List<StuInfo> infoCheck(StuInfo info) throws Exception;
}
