zoukankan      html  css  js  c++  java
  • ssm(Spring+Spring mvc+mybatis)Dao接口——IDeptDao

    package org.dao;
    
    import java.util.List;
    
    import org.entity.Dept;
    
    /**
     * 
    *    
    * 项目名称:test_ssm_16qn3   
    * 类名称:IDeptDao   
    * 类描述:   部门表的接口
    * 创建人:Mu Xiongxiong  
    * 创建时间:2017-12-26 下午8:46:28   
    * 修改人:Mu Xiongxiong   
    * 修改时间:2017-12-26 下午8:46:28   
    * 修改备注:   
    * @version    
    *
     */
    public interface IDeptDao {
        /**
         * 
        * @Description: 该方法的主要作用:查询全部
        * @Title: getDeptAll
        * @param  @return 设定文件  
        * @return  返回类型:List<Dept>   
        * @throws
         */
        List<Dept> getDeptAll();
    
        /**
         * 
        * @Description: 该方法的主要作用:添加一条数据
        * @Title: saveEntity
        * @param  @param dept
        * @param  @return 设定文件  
        * @return  返回类型:int   
        * @throws
         */
        int saveEntity(Dept dept);
    
        /**
         * 
        * @Description: 该方法的主要作用:修改部门信息
        * @Title: updateEntity
        * @param  @param dept
        * @param  @return 设定文件  
        * @return  返回类型:int   
        * @throws
         */
        int updateEntity(Dept dept);
    
        /**
         * 
        * @Description: 该方法的主要作用:删除部门信息
        * @Title: delEntity
        * @param  @param dept
        * @param  @return 设定文件  
        * @return  返回类型:int   
        * @throws
         */
        int delEntity(Dept dept);
    
        /**
         * 
        * @Description: 该方法的主要作用:根据编号查询部门信息
        * @Title: getDeptById
        * @param  @param id
        * @param  @return 设定文件  
        * @return  返回类型:Dept   
        * @throws
         */
        Dept getDeptById(int id);
    
    }
    
  • 相关阅读:
    Messy Code in Windows Server 2008 R2 English Edition
    Office Web Apps Server(1)
    How to add a webpart to your website
    How to Upload multiple files to documentLibrary in one time
    [刘阳Java]_SpringMVC文件上传第1季_第10讲
    [刘阳Java]_SpringMVC访问静态资源_第9讲
    react单组件 渲染页面
    react组件传值传方法
    react组件选项卡demo
    react组件
  • 原文地址:https://www.cnblogs.com/a1111/p/12816085.html
Copyright © 2011-2022 走看看