📄 tevaluateservice.java
字号:
package edu.yinhe.mis.services;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import edu.yinhe.mis.dto.TevaluateDTO;
import edu.yinhe.mis.model.DAOFactory;
import edu.yinhe.system.common.AppException;
import edu.yinhe.system.model.IBaseDAO;
import edu.yinhe.system.services.Service;
public class TevaluateService extends Service{
private IBaseDAO dao=null;
public Object alllist() throws AppException {
// TODO Auto-generated method stub
return null;
}
/**
* @author wanjiansheng
* 查询教师课堂记录表
*/
public Object alllist(Object arg0) throws AppException {
TevaluateDTO temd=(TevaluateDTO)arg0;
List list=new ArrayList();
try {
dao=DAOFactory.getTevaluateDAO(conn);
list=(List) dao.findAll(temd);
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}finally{
closeConnection();
dao=null;
}
return list;
}
/**
* @author wanjiansheng
* 导入教师课堂记录表
*/
public Object create(Object arg0) throws AppException {
boolean flag=false;
TevaluateDTO temd=(TevaluateDTO)arg0;
try {
dao=DAOFactory.getTevaluateDAO(conn);
flag=(Boolean) dao.insert(temd);
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}finally{
closeConnection();
dao=null;
}
return flag;
}
public Object findAll() throws AppException {
// TODO Auto-generated method stub
return null;
}
public Object findAll(Object arg0) throws AppException {
// TODO Auto-generated method stub
return null;
}
public Object findById(Object arg0) throws AppException {
// TODO Auto-generated method stub
return null;
}
public Object findByObject(Object arg0) throws AppException {
// TODO Auto-generated method stub
return null;
}
public int getcount() throws AppException {
// TODO Auto-generated method stub
return 0;
}
public int getcount(Object arg0) throws AppException {
// TODO Auto-generated method stub
return 0;
}
public Object list() throws AppException {
// TODO Auto-generated method stub
return null;
}
public Object list(Object arg0) throws AppException {
// TODO Auto-generated method stub
return null;
}
public Object load(Object arg0) throws AppException {
// TODO Auto-generated method stub
return null;
}
public Object modify(Object arg0) throws AppException {
// TODO Auto-generated method stub
return null;
}
public Object remove(Object arg0) throws AppException {
// TODO Auto-generated method stub
return null;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -