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

import com.pcloud.book.adnews.dao.AdNewsSetDao;
import com.pcloud.book.adnews.entity.AdNewsSet;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Repository;

/**
 * @Description
 * @Author ruansiyuan
 * @Date 2019/7/17 16:19
 **/
@Repository("adNewsSetDao")
public class AdNewsSetDaoImpl extends BaseDaoImpl<AdNewsSet> implements AdNewsSetDao {
    @Override
    public AdNewsSet getByPartyId(Long createUser) {
        return super.getSqlSession().selectOne(getStatement("getByPartyId"), createUser);
    }
}
