/**
* @Title : DeptDaoImpl.java
* @Package org.dao.impl
* @Description : TODO该方法的主要作用:
* @author A18ccms A18ccms_gmail_com
* @date 2017-12-26 下午9:02:32
* @version V1.0
*/
package org.dao.impl;import java.util.List;import org.dao.IDeptDao;
import org.entity.Dept;
import org.springframework.beans.factory.annotation.Autowired;/** * * 项目名称:test_ssm_16qn3 * 类名称:DeptDaoImpl * 类描述: 部门表的实现类* 创建人:Mu Xiongxiong * 创建时间:2017-12-26 下午9:02:32 * 修改人:Mu Xiongxiong * 修改时间:2017-12-26 下午9:02:32 * 修改备注: * @version * */
public class DeptDaoImpl implements IDeptDao {@Autowired private IDeptDao deptDao;/**(非 Javadoc)* <p>Description(描述):查询全部 </p>* <p>Title: getDeptAll</p>* @return * @see org.dao.IDeptDao#getDeptAll()*/ @Override public List<Dept> getDeptAll () {return deptDao.getDeptAll();}/**(非 Javadoc)* <p>Description(描述):保存部门 </p>* <p>Title: saveEntity</p>* @param dept* @return * @see org.dao.IDeptDao#saveEntity(org.entity.Dept)*/ @Override public int saveEntity (Dept dept) {return deptDao.saveEntity(dept);}/**(非 Javadoc)* <p>Description(描述):修改部门 </p>* <p>Title: updateEntity</p>* @param dept* @return * @see org.dao.IDeptDao#updateEntity(org.entity.Dept)*/ @Override public int updateEntity (Dept dept) {return deptDao.updateEntity(dept);}/**(非 Javadoc)* <p>Description(描述):删除部门 </p>* <p>Title: delEntity</p>* @param dept* @return * @see org.dao.IDeptDao#delEntity(org.entity.Dept)*/ @Override public int delEntity (Dept dept) {return deptDao.delEntity(dept);}/**(非 Javadoc)* <p>Description(描述):根据编号查询部门 </p>* <p>Title: getDeptById</p>* @param id* @return * @see org.dao.IDeptDao#getDeptById(int)*/ @Override public Dept getDeptById (int id) {return deptDao.getDeptById(id);}}