package com.pcloud.book.applet.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.pcloud.book.applet.dao.AppletThirdResourcesRelationDao;
import com.pcloud.book.applet.entity.AppletThirdResourcesRelation;
import com.pcloud.common.core.dao.BaseDaoImpl;

@Repository("appletThirdResourcesRelationDao")
public class AppletThirdResourcesRelationDaoImpl extends BaseDaoImpl<AppletThirdResourcesRelation> implements
        AppletThirdResourcesRelationDao {

    @Override
    public void deleteByAppletNewsId(Long newsId) {
        getSessionTemplate().delete(getStatement("deleteByAppletNewsId"), newsId);
    }
}
