?? collegedaoimpl.java
字號:
/*
* Created on 2005-7-11
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package org.ug.sztz.dao.ibatis.sztz;
import java.util.List;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import org.ug.sztz.dao.sztz.CollegeDao;
//import org.ug.sztz.domain.sztz.College;
/**
* @author xix
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class CollegeDaoImpl extends SqlMapClientDaoSupport implements CollegeDao {
/*
public College createCollege(Object college) {
// TODO Auto-generated method stub
return (College)this.getSqlMapClientTemplate().insert("createCollege", college);
}
public int upadateCollege(Object college) {
// TODO Auto-generated method stub
return this.getSqlMapClientTemplate().update("updateCollege", college);
}
public int delegeCollege(String collegeId) {
// TODO Auto-generated method stub
return this.getSqlMapClientTemplate().delete("deleteCollegeById", collegeId);
}
public int delegeCollegeByCid(String cid) {
// TODO Auto-generated method stub
return this.getSqlMapClientTemplate().delete("deleteCollegeByCId", cid);
}
public List listCollege() {
// TODO Auto-generated method stub
return this.getSqlMapClientTemplate().queryForList("listCollege", null);
}
public College getCollegeById(String id) {
// TODO Auto-generated method stub
return (College)this.getSqlMapClientTemplate().queryForObject("getCollegeById", id);
}
public College getCollegeByCId(String cid) {
// TODO Auto-generated method stub
return (College)this.getSqlMapClientTemplate().queryForObject("getCollegeByCId", cid);
}
*/
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -