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

import com.pcloud.book.group.entity.ResourcePageOuterLink;
import com.pcloud.book.group.dao.ResourcePageOuterLinkDao;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * (ResourcePageOuterLink)表数据库访问层
 *
 * @author wubo 
 * @since 2022-05-17 14:14:07
 */
@Repository("resourcePageOuterLinkDaoImpl")
public class ResourcePageOuterLinkDaoImpl extends BaseDaoImpl<ResourcePageOuterLink> implements ResourcePageOuterLinkDao {
    public int softDeleteById(Long id) {
             return getSessionTemplate().update(getStatement("softDeleteById"), id);

    }

    @Override
    public List<ResourcePageOuterLink> selectList(List<Long> resourcePageOuterLinkIds) {
        return getSessionTemplate().selectList(getStatement("selectList"), resourcePageOuterLinkIds);
    }
}
