All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sicheng.admin.sys.dao.MenuDao Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
/**
 * 本作品使用 木兰公共许可证,第2版(Mulan PubL v2) 开源协议,请遵守相关条款,或者联系sicheng.net获取商用授权。
 * Copyright (c) 2016 SiCheng.Net
 * This software is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.sicheng.admin.sys.dao;

import com.sicheng.admin.sys.entity.Menu;
import com.sicheng.common.persistence.CrudDao;
import com.sicheng.common.persistence.annotation.MyBatisDao;
import org.apache.ibatis.annotations.Param;

/**
 * 菜单DAO接口
 *
 * @author zhaolei
 * @version 2014-05-16
 */
@MyBatisDao
public interface MenuDao extends CrudDao {
    //请在这里增加你自己的DAO层方法
    //14条单表操作的通用SQL调用方法都在父类中,全继承下来了,可直接使用。

    /**
     * 级联删除,删除父节点的同时,删除所有子节点
     * 删除数据(一般为逻辑删除,更新del_flag字段为1)
     *
     * @param id
     * @return
     */
    public int deleteCascade(@Param(value = "id") Long id);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy