/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.ejweb.modules.report.dao;

import com.ejweb.core.persistence.CrudDao;
import com.ejweb.core.persistence.annotation.MyBatisDao;
import com.ejweb.modules.report.entity.CtBbtcTypeArea;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 区域基础资料DAO接口
 * @author haoqm
 * @version 2019-07-12
 */
@MyBatisDao
public interface CtBbtcTypeAreaDao extends CrudDao<CtBbtcTypeArea> {

    public  List<CtBbtcTypeArea> getByAreaId(CtBbtcTypeArea area);

    public  List<CtBbtcTypeArea> getByParentId(CtBbtcTypeArea area);

    /*跟据parentId  删除*/
    public int deleteByParentId(CtBbtcTypeArea area);


}