package com.hotent.portal.persistence.dao;

import com.hotent.portal.model.PortalNewsNotice;

import java.time.LocalDateTime;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 *  Mapper 接口
 *
 * @company 广州宏天软件股份有限公司
 * @author 赵祥云
 * @since 2020-07-03
 */
public interface PortalNewsNoticeDao extends BaseMapper<PortalNewsNotice> {


	void deleteByClassifyId(@Param("classifyId")String id);

	//通过portal_news_tree_.parent_id_删除所有新闻
	void deleteNewsByParentId(@Param("parentId")String id);

}
