/**
* @Title : IDeptService.java
* @Package org.service
* @Description : TODO该方法的主要作用:
* @author A18ccms A18ccms_gmail_com
* @date 2018-3-12 上午10:45:56
* @version V1.0
*/
package org.service;import java.util.List;import org.entity.Dept;/** * * 项目名称:test_springmvc_16qn2 * 类名称:IDeptService * 类描述: 部门表的Service* 创建人:Mu Xiongxiong * 创建时间:2018-3-12 上午10:45:56 * 修改人:Mu Xiongxiong * 修改时间:2018-3-12 上午10:45:56 * 修改备注: * @version * */
public interface IDeptService {/*** * @Description : 该方法的主要作用:删除* @Title : deleteByPrimaryKey* @param @param id* @param @return 设定文件 * @return 返回类型:int * @throws */ int deleteByPrimaryKey(Integer id);/*** * @Description : 该方法的主要作用:添加* @Title : insert* @param @param record* @param @return 设定文件 * @return 返回类型:int * @throws */ int insert(Dept record);/*** * @Description : 该方法的主要作用:根据编号删除* @Title : selectByPrimaryKey* @param @param id* @param @return 设定文件 * @return 返回类型:Dept * @throws */ Dept selectByPrimaryKey(Integer id);/*** * @Description : 该方法的主要作用:根据编号修改* @Title : updateByPrimaryKey* @param @param record* @param @return 设定文件 * @return 返回类型:int * @throws */ int updateByPrimaryKey(Dept record);/*** * @Description : 该方法的主要作用:查询全部部门* @Title : findDeptAll* @param @return 设定文件 * @return 返回类型:List<Dept> * @throws */ List<Dept> findDeptAll();
}